$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Adam M (boost_at_[hidden])
Date: 2005-11-04 13:17:38
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