Re:Mutexes are faster than Spinlocks
by bdash on Saturday January 04, 2020 @08:13PM
(#21958889)
No, a thread that fails to acquire the mutex sleeps until the thread that is releasing the mutex explicitly wakes it. On Linux this is achieved via FUTEX_WAIT / FUTEX_WAKE.
[ Parent
| on HN ]
There are no comments on this comment yet.