Boost logo

Boost Users :

Subject: [Boost-users] [boost::condition_variable_any] Telling cond to unlock_share()
From: Panagiotis Foteinos (pafotein_at_[hidden])
Date: 2011-03-28 18:03:29


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



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net