$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Gordon Smith (schmoo2k_at_[hidden])
Date: 2005-03-07 10:06:34
The following code seems to deadlock on the second (read) scoped lock (not
what I would expect):
boost::read_write_mutex
mutex(boost::read_write_scheduling_policy::alternating_single_read);
{
boost::read_write_mutex::scoped_write_lock writeLock(mutex);
}
{
boost::read_write_mutex::scoped_read_lock readLock(mutex);
}