[concurrency-interest] Numa and ReentrantLock

Mohit Kumar mohit.riverstone at gmail.com
Thu Aug 26 23:49:40 EDT 2010

Hi Doug,


I have a requirement where-in I spin by calling "trylock()" a configured
number of times before i go in for a blocking version.

Something like adaptive spinning on intrinsic locks.


My only concern is this spinning is on a single variable which would be on
remote memory for all but one thread on NUMA machines.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20100827/b5387151/attachment.html>

More information about the Concurrency-interest mailing list