Skip to content

Commit 1344fc1

Browse files
committed
coro: make sync primitives public
1 parent e8091d4 commit 1344fc1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/coro.zig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ pub const Task = @import("coro/Task.zig");
2727
const sync = @import("coro/sync.zig");
2828
pub const Semaphore = sync.Semaphore;
2929
pub const ResetEvent = sync.ResetEvent;
30+
pub const Mutex = sync.Mutex;
31+
pub const RwLock = sync.RwLock;
32+
pub const Queue = sync.Queue;
3033

3134
// Aliases
3235
pub const current = Task.current;

0 commit comments

Comments
 (0)