1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-06 02:23:03 +00:00

Add thread example.

Also remove reference to pthread_t in the JanetThread structure.
This commit is contained in:
Calvin Rose
2019-12-01 20:47:22 -06:00
parent 6a763aac95
commit 8f31a53276
3 changed files with 20 additions and 4 deletions

View File

@@ -956,7 +956,6 @@ struct JanetThreadShared {
JanetChannel child;
};
struct JanetThread {
pthread_t handle;
JanetThreadShared *shared;
JanetTable *dict;
enum {