Commit bfcf1152 authored by Robert Schmidt's avatar Robert Schmidt

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

parent 92e6b5e5
...@@ -237,7 +237,7 @@ static inline void abortNotifiedFIFO(notifiedFIFO_t *nf) { ...@@ -237,7 +237,7 @@ static inline void abortNotifiedFIFO(notifiedFIFO_t *nf) {
if (nf->outF == NULL) if (nf->outF == NULL)
nf->inF = NULL; nf->inF = NULL;
mutexunlock(nf->lockF); mutexunlock(nf->lockF);
condsignal(nf->notifF); condbroadcast(nf->notifF);
} }
struct one_thread { struct one_thread {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment