News for hackers. Stuff that matters.
Re:The Fastest Mutexes by xxs on Thursday October 03, 2024 @02:54AM (#41727944)
if YieldProcessor() actually did switch it'd be awfully expensive, like mentioned "rep; nop", is not just a "nop".

OTOH, the usual way to lock via a busy loop/spin, does require some attempts then backoff with a random duration.

There are no comments on this comment yet.