diff options
| author | johnLate <inbox-121@johnlate.scnr.net> | 2021-02-22 19:29:00 +0100 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2021-02-23 11:10:24 +0200 |
| commit | d9e46dceeca3f66b87e6b2e36415417495d2d2a0 (patch) | |
| tree | 5b07bed9459cb86280a86d0af4d0c47d48e0aa40 /lib/std/Thread | |
| parent | 0aef1faa820e29a9eceb51a2048977d7be938f2a (diff) | |
| download | zig-d9e46dceeca3f66b87e6b2e36415417495d2d2a0.tar.gz zig-d9e46dceeca3f66b87e6b2e36415417495d2d2a0.zip | |
std.Thread.Semaphore: Fix wrong variable name
Fixes ziglang#8052
Diffstat (limited to 'lib/std/Thread')
| -rw-r--r-- | lib/std/Thread/Semaphore.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/Thread/Semaphore.zig b/lib/std/Thread/Semaphore.zig index 77a278b355..a899cd9b6f 100644 --- a/lib/std/Thread/Semaphore.zig +++ b/lib/std/Thread/Semaphore.zig @@ -13,7 +13,7 @@ cond: Condition = .{}, //! It is OK to initialize this field to any value. permits: usize = 0, -const RwLock = @This(); +const Semaphore = @This(); const std = @import("../std.zig"); const Mutex = std.Thread.Mutex; const Condition = std.Thread.Condition; |
