Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2008-02-10 14:46:30


Anthony Williams:

> Adding yield() to try-and-back-off helps with some mutex implementations,
> and is
> effectively a no-op in others, so is worth adding.

I think that I would like to see how the algorithms scale to a number of
cores equaling the number of philosophers before agreeing with that. As Phil
notes, extra yields are not a problem if another thread can use the time to
do something useful.


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