This commit is contained in:
Christian Grothoff 2021-01-27 18:57:39 +01:00
parent 5ec474a0e8
commit 88627af6a3
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
2 changed files with 4 additions and 0 deletions

View File

@ -383,6 +383,8 @@ sign_worker (void *cls)
}
GNUNET_assert (0 == pthread_mutex_lock (&work_lock));
}
if (! in_shutdown)
break;
/* queue is empty, wait for work */
GNUNET_assert (0 ==
pthread_cond_wait (&work_cond,

View File

@ -446,6 +446,8 @@ sign_worker (void *cls)
}
GNUNET_assert (0 == pthread_mutex_lock (&work_lock));
}
if (! in_shutdown)
break;
/* queue is empty, wait for work */
GNUNET_assert (0 ==
pthread_cond_wait (&work_cond,