-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
enhancementSolving this issue will likely involve adding new logic or components to the codebase.Solving this issue will likely involve adding new logic or components to the codebase.
Milestone
Description
On top of the ability to create a kernel thread, Zig should have an abstraction that allows code to express concurrency.
- coroutines (
async/await) - kernel threads for linux
- atomic primitives
- see the TODO for atomicRmw in the docs. support
booland integers with bit counts not powers of 2. for atomicrmw as well as atomicload. @atomicRmw - support bool and non-power-of-2 int types #1220 - cmpxchg function is missing the loaded value #461
- implement kernel threads for macos and windows
- Proof of concept M:N threading. (multiplex coroutines onto a thread pool)
- Builtin function to tell you the maximum stack size of a given function #157
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementSolving this issue will likely involve adding new logic or components to the codebase.Solving this issue will likely involve adding new logic or components to the codebase.