Re: [Boost-users] boost::condition questions
4 Nov
2005
4 Nov
'05
6:17 p.m.
Ok, I see now in scoped_lock the following: operator const void*() const { return m_locked ? this : 0; } So, in wait() where they check "if( !lock) {...}", they're actually checking to see if the lock has locked the mutex. However, for the reasons I mentioned in my earlier post, this still seems perilous. Can someone explain? Thanks, Adam
6951
Age (days ago)
6951
Last active (days ago)
0 comments
1 participants
participants (1)
-
Adam M