| ... | @@ -1,5 +1,6 @@ | ... | @@ -1,5 +1,6 @@ |
| 1 | const std = @import("../index.zig"); | 1 | const std = @import("../index.zig"); |
| 2 | const Lock = std.event.Lock; | 2 | const Lock = std.event.Lock; |
| | 3 | const Loop = std.event.Loop; |
| 3 | | 4 | |
| 4 | /// Thread-safe async/await lock that protects one piece of data. | 5 | /// Thread-safe async/await lock that protects one piece of data. |
| 5 | /// Does not make any syscalls - coroutines which are waiting for the lock are suspended, and | 6 | /// Does not make any syscalls - coroutines which are waiting for the lock are suspended, and |