Further Reading: Concurrency Primitives
Back to Concurrency Primitives
Books
"The Art of Multiprocessor Programming" by Herlihy & Shavit - Concurrency primitives - Lock-free algorithms
Key Takeaways
- Locks: Exclusive access to resources
- Semaphores: Counting resources
- Channels: Communication between threads
- Deadlocks: Prevent with ordering and timeouts