Hello users.

Documentation says that cond.wait(mtx) blocks the current thread and invokes mtx.unlock().

What if I want cond.wait(mtx) to call mtx.unlock_shared() instead? Is there any way to do so?


Regards,
Panagiotis Foteinos