$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
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.