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

To add to this, the superset of these ideas is referred to as "non-blocking", and lock-freedom is one flavor. There is also obstruction-freedom, starvation-freedom, wait-freedom, etc.. All of which have their own trade-offs and complexities. If you're interested in some literature, McKenney's book[0] is considered a great practical introduction to these ideas. (also discussed before on HN [1][2])

In applications where you're willing to trade throughput for latency (like RTOS schedulers, drivers, audio processing), it can often make sense to go for a wait-free data structure.

[0] https://arxiv.org/pdf/1701.00854.pdf

[1] https://news.ycombinator.com/item?id=34859102

[2] https://news.ycombinator.com/item?id=26537298



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

Search: