Re:The Fastest Mutexes
by spacechild1 on Thursday October 03, 2024 @12:34AM
(#41727413)
`YieldThread` is just named confusingly. It is not equivalent to `sched_yield` or `std::thread::yield()`, it's rather a macro to issue a pause instruction (which is indeed what you typically want in a spin loop). The actual Windows equivalent would be `SwitchToThread`.
[ Parent
| on HN ]
There are no comments on this comment yet.