thepointman.dev_

Courses / Java Concurrency

Java Synchronizers

intermediate7 lessons

CountDownLatch for one-shot coordination, CyclicBarrier for reusable phase barriers, Semaphore as a resource gate (connection pool limit), Exchanger for paired data handoff, Phaser's dynamic party registration, BlockingQueue as the producer-consumer backbone, and solving the Dining Philosophers with synchronizers.

// Lessons

  1. 01

    CountDownLatch — One-Shot Coordination for N Events

    soon
  2. 02

    CyclicBarrier — Reusable Rendezvous for N Threads

    soon
  3. 03

    Semaphore — Counting Resource Gates

    soon
  4. 04

    Exchanger — Pair-Wise Data Handoff Between Two Threads

    soon
  5. 05

    Phaser — Flexible Multi-Phase Coordination

    soon
  6. 06

    Producer-Consumer with BlockingQueue — The Pattern You'll Use Most

    soon
  7. 07

    Classic Problems — Dining Philosophers and Readers-Writers

    soon