aboutsummaryrefslogtreecommitdiff
path: root/src/ThreadPool.zig
diff options
context:
space:
mode:
authorkprotty <kbutcher6200@gmail.com>2021-06-20 13:45:16 -0500
committerkprotty <kbutcher6200@gmail.com>2021-06-30 21:49:00 -0500
commit281a9a60f07afaf1b72bc66b2bb3c925b3c908f4 (patch)
tree07cf1410aa23feb63196b7db3baf3ae29c04d302 /src/ThreadPool.zig
parent1ae969e5299ea71231e7045110332b23989e653c (diff)
downloadzig-281a9a60f07afaf1b72bc66b2bb3c925b3c908f4.tar.gz
zig-281a9a60f07afaf1b72bc66b2bb3c925b3c908f4.zip
std.Thread: fixup ThreadPool.zig
Diffstat (limited to 'src/ThreadPool.zig')
-rw-r--r--src/ThreadPool.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ThreadPool.zig b/src/ThreadPool.zig
index 18818c7d9d..7386e426eb 100644
--- a/src/ThreadPool.zig
+++ b/src/ThreadPool.zig
@@ -21,7 +21,7 @@ const Runnable = struct {
const Worker = struct {
pool: *ThreadPool,
- thread: *std.Thread,
+ thread: std.Thread,
/// The node is for this worker only and must have an already initialized event
/// when the thread is spawned.
idle_node: IdleQueue.Node,