Y
Hacker News
new
|
ask
|
show
|
jobs
by
ww520
1592 days ago
Futex puts the thread to sleep and wakes it up. Accessing the OS scheduler requires kernel access anyway. The memory access of the flag can be done in user or kernel space.