1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-24 12:17:41 +00:00

Work on threads.

Add send and receive.
This commit is contained in:
Calvin Rose
2019-12-01 20:28:12 -06:00
parent 5cd6580c2d
commit 6a763aac95
7 changed files with 280 additions and 92 deletions

View File

@@ -32,6 +32,9 @@
* be in it. However, thread local global variables for interpreter
* state should allow easy multi-threading. */
/* The core dictionary is memoized */
extern JANET_THREAD_LOCAL JanetTable *janet_vm_core_dictionary;
/* How many VM stacks have been entered */
extern JANET_THREAD_LOCAL int janet_vm_stackn;