$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-11-01 11:45:53
Roland Schwarz wrote:
> Btw.: I never understood why one wanted direct locking of a mutex
> on Boost.Thread. You always have been able to say:
>
> boost::mutex mx;
> boost::scoped_lock lk(mx,false);
No, lk is explicitly documented as being not thread safe. When two threads
attempt to lock lk at the same time, the behavior is undefined.