mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
* Add `timedWait` to `std.Thread.Semaphore` Add example to documentation of `std.Thread.Semaphore` * Add unit test for thread semaphore timed wait Fix missing try * Change unit test to be simpler * Change `timedWait()` to keep a deadline * Change `timedWait()` to return earlier in some scenarios * Change `timedWait()` to keep a deadline (based on std.Timer) (similar to std.Thread.Futex) --------- Co-authored-by: protty <45520026+kprotty@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| Condition.zig | ||
| Futex.zig | ||
| Mutex.zig | ||
| Pool.zig | ||
| ResetEvent.zig | ||
| RwLock.zig | ||
| Semaphore.zig | ||
| WaitGroup.zig | ||