Y
Hacker News
new
|
ask
|
show
|
jobs
by
bdash
2363 days ago
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.