|
Boost Users : |
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);
}
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net