Boost logo

Boost :

From: Neil Groves (neilgroves_at_[hidden])
Date: 2007-05-06 11:24:53


Hello!

 

I am very happy to see that the read_write_mutex has returned to boost. I am
particularly grateful that there is now scheduling configuration too. This
is very cool.

 

In the latest beta version of read_write_mutex I noticed a small fault with
the bool write_locked() const query in various classes in the
detail/read_write_mutex.hpp file performing a != instead of an ==
comparison. I noticed this primarily because I make this mistake all the
time!

 

Attached is the beta version of detail/read_write_mutex.hpp modified to use
==.

 

I hope this helps,

 

Neil Groves

 




Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk