1
0
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:
Joris Vink 2018-07-13 21:04:59 +02:00
parent 02e7359970
commit b957d26335

View File

@ -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;