mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
[qwaq] Actually unlock the event queue mutex
And now everything works as well threaded as it did unthreaded.
This commit is contained in:
parent
fb17f8093d
commit
fb6883851d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue