mirror of
https://github.com/janet-lang/janet
synced 2025-10-30 15:13:03 +00:00
Make poll work by going back to array of listeners for gc keeping.
This commit is contained in:
@@ -158,7 +158,7 @@ struct JanetVM {
|
||||
volatile size_t extra_listeners; /* used in signal handler, must be volatile */
|
||||
JanetTable threaded_abstracts; /* All abstract types that can be shared between threads (used in this thread) */
|
||||
JanetTable active_tasks; /* All possibly live task fibers - used just for tracking */
|
||||
JanetTable listeners; /* For GC */
|
||||
JanetArray *listeners; /* For GC */
|
||||
JanetTable signal_handlers;
|
||||
#ifdef JANET_WINDOWS
|
||||
void **iocp;
|
||||
|
||||
Reference in New Issue
Block a user