Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's called a futex and supported by both Linux and Windows since ages.


The 1-byte-per-mutex parking_lot implementation works even on systems that don't provide a futex syscall or equivalent.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: