You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
make std.event.Loop work with --single-threaded #1908
enhancementSolving this issue will likely involve adding new logic or components to the codebase.standard libraryThis issue involves writing Zig code for the standard library.
On MacOS and FreeBSD it will be worth looking into whether kqueue works with file system operations.
When #1907 is implemented, it could be interesting to explore io_submit on Linux instead of epoll, however even so, we would need another implementation for older linuxes that does not rely on a thread.
This issue could potentially require a proposal to modify the single-threaded flag to work at some kind of scope level. Or it could potentially be resolved by making async file system functions actually be blocking in --single-threaded mode.
Reacted by Isaac Freund, Joran Dirk Greef, Tom, Edward McFarlane, lin72h and Fifnmar
enhancementSolving this issue will likely involve adding new logic or components to the codebase.standard libraryThis issue involves writing Zig code for the standard library.
Activity
introduce --single-threaded build option
Add event loop and handle JS async code