diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-02-13 13:39:06 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-03-15 10:48:12 -0700 |
| commit | 5b90fa05a4e5b155f25319713acfc67ad9516c69 (patch) | |
| tree | 6aaffe4ec16f7f6a18539bf2397176e001bf71cf /lib/std/Thread.zig | |
| parent | 0b744d7d670d00fa865ebd17847cbdc1a909ba70 (diff) | |
| download | zig-5b90fa05a4e5b155f25319713acfc67ad9516c69.tar.gz zig-5b90fa05a4e5b155f25319713acfc67ad9516c69.zip | |
extract ThreadPool and WaitGroup from compiler to std lib
Diffstat (limited to 'lib/std/Thread.zig')
| -rw-r--r-- | lib/std/Thread.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/std/Thread.zig b/lib/std/Thread.zig index 27f7fa5030..e3345e4a42 100644 --- a/lib/std/Thread.zig +++ b/lib/std/Thread.zig @@ -16,6 +16,8 @@ pub const Mutex = @import("Thread/Mutex.zig"); pub const Semaphore = @import("Thread/Semaphore.zig"); pub const Condition = @import("Thread/Condition.zig"); pub const RwLock = @import("Thread/RwLock.zig"); +pub const Pool = @import("Thread/Pool.zig"); +pub const WaitGroup = @import("Thread/WaitGroup.zig"); pub const use_pthreads = target.os.tag != .windows and target.os.tag != .wasi and builtin.link_libc; const is_gnu = target.abi.isGnu(); |
