
29 Mar
2011
29 Mar
'11
1:03 a.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