
25 Sep
2007
25 Sep
'07
6:35 p.m.
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.