Boost logo

Boost :

From: Michael Glassford (glassfordm_at_[hidden])
Date: 2004-07-07 23:25:17


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


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