Y
Hacker News
new
|
ask
|
show
|
jobs
by
Iwan-Zotow
2545 days ago
Mutexes in Linux are implemented on top of futex, and on Windows on top of WaitForAddress. Uncontested futex (as well as WaitForAddress) never goes to kernel, pure userspace code and in hot path it is quite fast
https://devblogs.microsoft.com/oldnewthing/20170601-00/?p=96...