
10 Feb
2008
10 Feb
'08
8:42 p.m.
On Feb 10, 2008, at 2:46 PM, Peter Dimov wrote:
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.
Hey, Peter has volunteered to buy a 16 core machine for us to experiment on! :-) -Howard