7 — Deadlocks
Purpose
[stub: deadlocks]
Metadata
| Author | Amit Singh |
| Scope | low-level-design |
Local graph
Related notes
1 — Thread Safety
Defines what it means for a class or method to be thread-safe and the correctness guarantees a design must uphold under concurrent access.
2 — Synchronization
Covers synchronization mechanisms that coordinate access to shared mutable state across multiple threads.
3 — Locks
Examines lock types — mutexes, read-write locks, reentrant locks — and the tradeoffs each makes between safety and throughput.
4 — Concurrent Collections
Surveys concurrent collection types designed for safe multi-threaded access without requiring external locking by the caller.