diff options
| author | gingerBill <bill@gingerbill.org> | 2023-01-02 23:50:48 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-01-02 23:50:48 +0000 |
| commit | e10fe91ebacdf6256608672a805de9d376e698fe (patch) | |
| tree | 38ab250b0812763d7b1edf2dc3d95e12b146396c /src/thread_pool.cpp | |
| parent | fd62ee14cdfe48be93b041aeadaf4d5eedce0447 (diff) | |
Narrow global `gen_procs_mutex` further
Diffstat (limited to 'src/thread_pool.cpp')
| -rw-r--r-- | src/thread_pool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread_pool.cpp b/src/thread_pool.cpp index b89e00454..07ab3d323 100644 --- a/src/thread_pool.cpp +++ b/src/thread_pool.cpp @@ -167,7 +167,7 @@ gb_internal THREAD_PROC(thread_pool_thread_proc) { idx = (idx + 1) % cast(usize)pool->threads.count; Thread *thread = &pool->threads.data[idx]; - WorkerTask task, another_task; + WorkerTask task; if (!thread_pool_queue_pop(thread, &task)) { continue; } |