aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/include/janet.h
diff options
context:
space:
mode:
authorCalvin Rose <calsrose@gmail.com>2021-08-15 13:14:33 -0500
committerCalvin Rose <calsrose@gmail.com>2021-08-15 13:14:33 -0500
commit97e5117a3fe09a0386c8389b18e22f6b081ef99b (patch)
tree6f2bd94b0772400fba4108b1f5fab56e9eb84167 /src/include/janet.h
parentInitial working draft of threaded channels. (diff)
Fix some issues and improve channel closing.
Still not fully working, seems to be deadlock/channel issue when sending events between threads.
Diffstat (limited to 'src/include/janet.h')
-rw-r--r--src/include/janet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/janet.h b/src/include/janet.h
index bf460484..d4e904da 100644
--- a/src/include/janet.h
+++ b/src/include/janet.h
@@ -1287,6 +1287,7 @@ extern enum JanetInstructionType janet_instructions[JOP_INSTRUCTION_COUNT];
#ifdef JANET_EV
extern JANET_API const JanetAbstractType janet_stream_type;
+extern JANET_API const JanetAbstractType janet_channel_type;
/* Run the event loop */
JANET_API void janet_loop(void);