
8 Jul
2004
8 Jul
'04
4:25 a.m.
Howard Hinnant wrote: [big snip]
The downside to all this is that the sizeof(rw_mutex) about doubled to support upgradable_read_lock (whether or not you use that functionality).
Really? (Not having tried to implement it,) that surprises me. Can you give a few more details about why? I'm interested.
The code size of the read and write locking/unlocking also swelled somewhat. I'm still contemplating the cost/functionality tradeoff, but my current feeling is that it is probably worth it.
Mike