mirror of
https://github.com/janet-lang/janet
synced 2025-11-14 22:37:12 +00:00
Go back to a single supervisor channel per fiber.
We now also use the fiber mask to figure out which flags to wait for.
This commit is contained in:
@@ -846,9 +846,7 @@ struct JanetFiber {
|
||||
* type, say "JanetTask", that as separate from fibers to save a bit of space. */
|
||||
JanetListenerState *waiting;
|
||||
uint32_t sched_id; /* Increment everytime fiber is scheduled by event loop */
|
||||
void *done_channel; /* Channel to push self to when complete */
|
||||
void *event_channel; /* Channel to push self to when yielding to event loop */
|
||||
void *new_channel; /* Channel to push spawned children */
|
||||
void *supervisor_channel; /* Channel to push self to when complete */
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user