New York Site views —Page views —
← All series

Java concurrency

Inspect explicit locks, condition queues and read-write locks through practical examples.

Reading order

  1. Choosing between synchronized and ReentrantLock
  2. Lock and ReentrantLock: why Java supports explicit locking
  3. Java Condition: why condition queues exist alongside wait() and notify()
  4. ReadWriteLock: when a single mutex holds back a read-heavy workload