[concurrency-interest] a question regarding LockSupport
yechielf at gigaspaces.com
Thu Feb 28 06:41:43 EST 2013
All its methods are static. Also, UNSAFE which is used by it is a static instance. So- when PARK() commands are issued by different threads within different implementations of locks which use LockSupport , or several instances of locks (like the FifoMutex in the code example of LockSupport) - are they all competing for a single Park() permit ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Concurrency-interest