7 Mar
2005
7 Mar
'05
3:06 p.m.
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); }