mirror of
https://git.kore.io/kore.git
synced 2024-11-18 07:57:04 +01:00
Let kore_worker_make_busy() not unlock solo workers
This commit is contained in:
parent
02e7359970
commit
b957d26335
@ -562,6 +562,9 @@ kore_worker_wait(int final)
|
||||
void
|
||||
kore_worker_make_busy(void)
|
||||
{
|
||||
if (worker_count == WORKER_SOLO_COUNT || worker_no_lock == 1)
|
||||
return;
|
||||
|
||||
if (worker->has_lock) {
|
||||
worker_unlock();
|
||||
worker->has_lock = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user