Does QWaitCondition::wait locks the mutex again?
-
Accroding to doc
theQWaitCondition::waitunlocks the mutex, but in the same doc there is exampleforever { mutex.lock(); keyPressed.wait(&mutex); do_something(); mutex.unlock(); }in the last line the mutex is unlocked again. Why?? Does
QWaitCondition::waitlocks it again?