1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-10 18:59:54 +00:00

Update janet.h for janet_thread_current

This commit is contained in:
Calvin Rose 2020-11-15 16:12:02 -06:00
parent dcf8ba0edb
commit 717fac02d1

View File

@ -1875,6 +1875,7 @@ extern JANET_API const JanetAbstractType janet_thread_type;
JANET_API int janet_thread_receive(Janet *msg_out, double timeout); JANET_API int janet_thread_receive(Janet *msg_out, double timeout);
JANET_API int janet_thread_send(JanetThread *thread, Janet msg, double timeout); JANET_API int janet_thread_send(JanetThread *thread, Janet msg, double timeout);
JANET_API JanetThread *janet_thread_current(void);
#endif #endif