Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2008-02-08 17:14:51


Howard Hinnant:

> Here are results (dating around 3 years ago):
>
> In order: 63 seconds.
> try/back off/without yield: 47 seconds.
> try/back off/with yield: 34 seconds.

With Alexander Terekhov's "swap-based mutex", I'm not seeing a significant
difference between the versions with and without yield. The penalty likely
comes from spin-waits in lock() (which is why they're evil).


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