Fix sporadic timeouts if we got cancelled
If we receive a cancellation during pthread_cond_(timed)wait() we will own the mutex on the way out. Avoid locking it twice, otherwise we will deadlock.
Showing
Please register or sign in to comment