Matt Thomas wrote:
On Nov 4, 2008, at 1:34 AM, Adam Hamsik wrote:I would like to ask what is difference between mutex_wait and cv_timedwait.before you can do cv_timedwait, you must have locked the mutex. What happensif that mutex is locked for a long period and you want to abort the wait?
How could it happen? Such mutexes are generally used to protect the shared data access "monitored" through condvar routines, so it should not be acquired for a long time?
-- Jean-Yves Migeon jean-yves.migeon%espci.fr@localhost