fix #6726
This commit is contained in:
parent
5ec474a0e8
commit
88627af6a3
@ -383,6 +383,8 @@ sign_worker (void *cls)
|
|||||||
}
|
}
|
||||||
GNUNET_assert (0 == pthread_mutex_lock (&work_lock));
|
GNUNET_assert (0 == pthread_mutex_lock (&work_lock));
|
||||||
}
|
}
|
||||||
|
if (! in_shutdown)
|
||||||
|
break;
|
||||||
/* queue is empty, wait for work */
|
/* queue is empty, wait for work */
|
||||||
GNUNET_assert (0 ==
|
GNUNET_assert (0 ==
|
||||||
pthread_cond_wait (&work_cond,
|
pthread_cond_wait (&work_cond,
|
||||||
|
@ -446,6 +446,8 @@ sign_worker (void *cls)
|
|||||||
}
|
}
|
||||||
GNUNET_assert (0 == pthread_mutex_lock (&work_lock));
|
GNUNET_assert (0 == pthread_mutex_lock (&work_lock));
|
||||||
}
|
}
|
||||||
|
if (! in_shutdown)
|
||||||
|
break;
|
||||||
/* queue is empty, wait for work */
|
/* queue is empty, wait for work */
|
||||||
GNUNET_assert (0 ==
|
GNUNET_assert (0 ==
|
||||||
pthread_cond_wait (&work_cond,
|
pthread_cond_wait (&work_cond,
|
||||||
|
Loading…
Reference in New Issue
Block a user