aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Build/Module.zig
diff options
context:
space:
mode:
authorFelix Kollmann <mail@fkollmann.de>2024-02-13 18:51:42 +0100
committerGitHub <noreply@github.com>2024-02-13 11:51:42 -0600
commit8addf53fb5046a65c6fd0c0d2e7894be60468132 (patch)
tree189044c1a1adb79047ff8bdb892193ebd78f2778 /lib/std/Build/Module.zig
parentd7563a7753393d7f0d1af445276a64b8a55cb857 (diff)
downloadzig-8addf53fb5046a65c6fd0c0d2e7894be60468132.tar.gz
zig-8addf53fb5046a65c6fd0c0d2e7894be60468132.zip
Add `timedWait` to `std.Thread.Semaphore` (#18805)
* 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>
Diffstat (limited to 'lib/std/Build/Module.zig')
0 files changed, 0 insertions, 0 deletions