[concurrency-interest] propper way to use CAS ?

Chris Purcell chris.purcell.39 at gmail.com
Mon Oct 10 11:39:07 EDT 2005


> But each thread has an unbiased chance of winning any given CAS.

Actually, this probably doesn't hold up on all processors. Biasing 
success towards the current owner of the cache-line just makes good 
sense, as it gives an increase in throughput.

Chris



More information about the Concurrency-interest mailing list