Tpool: use condbroadcast() in case multiple waits on the same signal
This commit is contained in:
@@ -237,7 +237,7 @@ static inline void abortNotifiedFIFO(notifiedFIFO_t *nf) {
|
||||
if (nf->outF == NULL)
|
||||
nf->inF = NULL;
|
||||
mutexunlock(nf->lockF);
|
||||
condsignal(nf->notifF);
|
||||
condbroadcast(nf->notifF);
|
||||
}
|
||||
|
||||
struct one_thread {
|
||||
|
||||
Reference in New Issue
Block a user