| author | |
| committer | |
| log | b5cfbfd84ee26d5174abf3368b75b9e4502898a5 |
| tree | 0d04604bde63903c8597d397220d1770e3495bca |
| parent | 1b82a9defce4daf2fea8e6290c7a8a4689878194 |
1 files changed, 1 insertions(+), 0 deletions(-)
std/event/locked.zig+1| ... | ... | @@ -1,5 +1,6 @@ |
| 1 | 1 | const std = @import("../index.zig"); |
| 2 | 2 | const Lock = std.event.Lock; |
| 3 | const Loop = std.event.Loop; | |
| 3 | 4 | |
| 4 | 5 | /// Thread-safe async/await lock that protects one piece of data. |
| 5 | 6 | /// Does not make any syscalls - coroutines which are waiting for the lock are suspended, and |