
28 Mar
2011
28 Mar
'11
10:03 p.m.
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