mirror of
https://github.com/janet-lang/janet
synced 2025-11-24 11:14:48 +00:00
Work on thread/receive doubling as select.
This commit is contained in:
@@ -946,9 +946,9 @@ typedef struct JanetChannel JanetChannel;
|
||||
struct JanetChannel {
|
||||
pthread_mutex_t lock;
|
||||
pthread_cond_t *rx_cond;
|
||||
pthread_mutex_t *rx_lock;
|
||||
JanetBuffer buf;
|
||||
int refCount;
|
||||
int mailboxFlag;
|
||||
};
|
||||
struct JanetThread {
|
||||
JanetChannel *rx;
|
||||
|
||||
Reference in New Issue
Block a user