[qwaq] Actually unlock the event queue mutex

And now everything works as well threaded as it did unthreaded.
This commit is contained in:
Bill Currie 2020-03-21 12:46:22 +09:00
parent fb17f8093d
commit fb6883851d

View file

@ -785,7 +785,7 @@ get_event (qwaq_resources_t *res, qwaq_event_t *event)
}
}
pthread_cond_broadcast (&res->event_cond.wcond);
pthread_mutex_lock (&res->event_cond.mut);
pthread_mutex_unlock (&res->event_cond.mut);
return ret != ETIMEDOUT;
}