Boost logo

Boost :

From: Hurd, Matthew (hurdm_at_[hidden])
Date: 2003-10-22 17:59:02


Just one small point...

> Rename rdlock() member function to read_lock() and wrlock() to
> write_lock()?

I'd rather see exclusive and shared retained. There maybe times you wish
for exclusive reading and taking a write lock for exclusive reading is not
so intuitive.

Recursive exclusive locks would help too. Perhaps through a
rw_recursive_mutex to keep things orthogonal.

Regards,

Matt.


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