mirror of
https://github.com/sockspls/badfish
synced 2025-07-11 19:49:14 +00:00
Fix compile error under gcc
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
78e494fcbc
commit
fb5ba1d329
1 changed files with 1 additions and 1 deletions
|
@ -2788,7 +2788,7 @@ namespace {
|
|||
|
||||
#if !defined(_MSC_VER)
|
||||
pthread_mutex_lock(&WaitLock);
|
||||
if (Idle || threadID >= ActiveThreads)
|
||||
if (AllThreadsShouldSleep || threadID >= ActiveThreads)
|
||||
pthread_cond_wait(&WaitCond, &WaitLock);
|
||||
|
||||
pthread_mutex_unlock(&WaitLock);
|
||||
|
|
Loading…
Add table
Reference in a new issue