This website requires JavaScript.
About
Status
₊˚⊹Discord
Explore
Register
Sign in
Reference in a new issue
Blame
Copy permalink
Reference in a new issue
Copy permalink
DKB
/
zml
Star
0
Fork
You've already forked zml
0
mirror of
https://github.com/zml/zml.git
synced
2026-11-16 19:11:09 +00:00
Code
Issues
23
Releases
1
Packages
Activity
steeve/pybinary
zml
/
async
/
threaded.zig
219 lines
5.9 KiB
Raw
Permalink
Normal View
History
async: add threaded implementation (#77) This implements the `async` module using a thread pool. This is now the default. Implementations can be swapped using the `@zml//async:impl=[threaded,zigcoro]` flag. Because io_uring is not enabled in the default seccomp profile, some container implementations will block on io_uring calls. Use the threaded implementation to work around this, for now.
2024-11-05 16:47:41 +01:00
zml: reintroduce pjrtx (#78) In an async scenario, it is very easy to footgun yourself and block the reactor, especially with Events. Reintroduce pjrtx that deals with the specifics.
2024-11-05 19:25:50 +01:00
async: add threaded implementation (#77) This implements the `async` module using a thread pool. This is now the default. Implementations can be swapped using the `@zml//async:impl=[threaded,zigcoro]` flag. Because io_uring is not enabled in the default seccomp profile, some container implementations will block on io_uring calls. Use the threaded implementation to work around this, for now.
2024-11-05 16:47:41 +01:00