|
Boost : |
From: Howard Hinnant (hinnant_at_[hidden])
Date: 2008-02-10 10:36:38
On Feb 10, 2008, at 6:52 AM, Anthony Williams wrote:
> Conclusion:
>
> Lock in order is always worse than try-and-back-off, sometimes
> considerably so.
>
> Adding yield() to try-and-back-off helps with some mutex
> implementations, and is
> effectively a no-op in others, so is worth adding.
Thanks much for the research (and previously stated theories) Anthony!
-Howard
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk