Redox: Fix Condvar.wait(); do not lock mutex twice
I think this is the correct solution, but I'm not entirely sure. It does seem fairly clear though that it was wrong previously, since this loop locks the mutex, then mutex_lock
is called to lock it again, blocking.