[qwaq] Add missing mutex unlock

This commit is contained in:
Bill Currie 2020-03-21 11:37:08 +09:00
parent 5f887c4773
commit af137937bd

View file

@ -761,6 +761,7 @@ add_event (qwaq_resources_t *res, qwaq_event_t *event)
} }
RB_WRITE_DATA (res->event_queue, event, 1); RB_WRITE_DATA (res->event_queue, event, 1);
pthread_cond_broadcast (&res->event_cond.cond); pthread_cond_broadcast (&res->event_cond.cond);
pthread_mutex_unlock (&res->event_cond.mut);
} }
static int static int