Tpool: use condbroadcast() in case multiple waits on the same signal

This commit is contained in:
Robert Schmidt
2022-11-21 13:47:41 +01:00
parent 92e6b5e5be
commit bfcf115298
+1 -1
View File
@@ -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 {