diff options
| author | Matthew Lugg <mlugg@mlugg.co.uk> | 2025-12-15 11:27:07 +0000 |
|---|---|---|
| committer | Matthew Lugg <mlugg@mlugg.co.uk> | 2025-12-22 12:55:16 +0000 |
| commit | 23e5a17187dc3a1f61dcb40b681f6730334d3667 (patch) | |
| tree | b9be13250646de077c841c49750e5987bd2fe601 /lib/std/Thread.zig | |
| parent | 18bc7e802f8b4460216ae2169f81abddd108599f (diff) | |
| download | zig-23e5a17187dc3a1f61dcb40b681f6730334d3667.tar.gz zig-23e5a17187dc3a1f61dcb40b681f6730334d3667.zip | |
std: delete Thread.Pool in favour of Io
Diffstat (limited to 'lib/std/Thread.zig')
| -rw-r--r-- | lib/std/Thread.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/Thread.zig b/lib/std/Thread.zig index f0fddd7ed0..35b268b349 100644 --- a/lib/std/Thread.zig +++ b/lib/std/Thread.zig @@ -18,9 +18,10 @@ 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 Pool = @compileError("deprecated; consider using 'std.Io.Group' with 'std.Io.Threaded'"); + pub const use_pthreads = native_os != .windows and native_os != .wasi and builtin.link_libc; /// A thread-safe logical boolean value which can be `set` and `unset`. @@ -1754,7 +1755,6 @@ test { _ = Semaphore; _ = Condition; _ = RwLock; - _ = Pool; } fn testIncrementNotify(value: *usize, event: *ResetEvent) void { |
