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

> You merely need atomic reads/writes in order to implement locks.

Nit: while it's possible to implement one with just atomic reads and writes, it's generally not trivial/efficient/ergonomic to do so without an atomic composite read-write operation, like a compare-and-swap.





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

Search: