[concurrency-interest] spinLoopHint() JEP draft discussion

Andrew Haley aph at redhat.com
Mon Oct 12 04:32:22 EDT 2015


On 11/10/15 17:42, thurstonn wrote:
> How exactly does this work?
> My understanding (very, very limited), was that MWAIT works with a memory
> address, pseudo:
> "continue execution upon a write to memory location X" ,
> but the proposed spinLoopHint() doesn't take any argument.

spinLoopHint() is just a PAUSE instruction.  It's not an MWAIT.

Andrew.



More information about the Concurrency-interest mailing list