Boost logo

Boost :

From: Andrey Semashev (andysem_at_[hidden])
Date: 2007-09-25 14:35:41


Gottlob Frege wrote:
> There was a long discussion about shared_mutex et al, and that was
> great. I don't want to start it all over again, but I was just
> wondering about the name:
>
> - I agree that 'reader writer', while known, might not be the best
> basis for a name

Well, personally I like read_write_mutex (rw_mutex or any variation of
it). Yes, it is well known, widely used and is an established term.
Seeing it in a piece of code I will know what's going on from the first
sight, while with shared_mutex (or something of that sort) I'll have to
dig out what was really meant here. That's my HO.


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