| ... | @@ -13,7 +13,7 @@ cond: Condition = .{}, | ... | @@ -13,7 +13,7 @@ cond: Condition = .{}, |
| 13 | //! It is OK to initialize this field to any value. | 13 | //! It is OK to initialize this field to any value. |
| 14 | permits: usize = 0, | 14 | permits: usize = 0, |
| 15 | | 15 | |
| 16 | const RwLock = @This(); | 16 | const Semaphore = @This(); |
| 17 | const std = @import("../std.zig"); | 17 | const std = @import("../std.zig"); |
| 18 | const Mutex = std.Thread.Mutex; | 18 | const Mutex = std.Thread.Mutex; |
| 19 | const Condition = std.Thread.Condition; | 19 | const Condition = std.Thread.Condition; |