mirror of
https://github.com/ziglang/zig.git
synced 2024-11-28 08:02:32 +00:00
8addf53fb5
* 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 |