diff options
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 a8bc327e5..ed3a065e0 100644 --- a/src/thread_pool.cpp +++ b/src/thread_pool.cpp @@ -93,8 +93,8 @@ bool thread_pool_add_task(ThreadPool *pool, WorkerTaskProc *proc, void *data) { thread_pool_queue_push(pool, task); GB_ASSERT(pool->ready >= 0); pool->ready++; - mutex_unlock(&pool->mutex); condition_signal(&pool->task_cond); + mutex_unlock(&pool->mutex); return true; } |