mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 22:04:21 +00:00
* move concurrency primitives that always operate on kernel threads to the std.Thread namespace * remove std.SpinLock. Nobody should use this in a non-freestanding environment; the other primitives are always preferable. In freestanding, it will be necessary to put custom spin logic in there, so there are no use cases for a std lib version. * move some std lib files to the top level fields convention * add std.Thread.spinLoopHint * add std.Thread.Condition * add std.Thread.Semaphore * new implementation of std.Thread.Mutex for Windows and non-pthreads Linux * add std.Thread.RwLock Implementations provided by @kprotty |
||
|---|---|---|
| .. | ||
| ast.zig | ||
| builtins.zig | ||
| darwin.zig | ||
| dragonfly.zig | ||
| emscripten.zig | ||
| freebsd.zig | ||
| fuchsia.zig | ||
| haiku.zig | ||
| hermit.zig | ||
| linux.zig | ||
| minix.zig | ||
| netbsd.zig | ||
| openbsd.zig | ||
| parse.zig | ||
| solaris.zig | ||
| tokenizer.zig | ||
| windows.zig | ||