Concurrency

Concurrent execution models, synchronization primitives, and coordination patterns for building correct and fast multithreaded and async systems.

Foundations

  • Threads vs Processes planned target working high
  • Memory Models & Ordering planned target deep top
  • Atomics & Compare-and-Swap planned target deep top
  • False Sharing & Cache-Line Contention planned target deep high

Locks & Lock-Free

  • Locks, Mutexes & Condition Variables planned target deep top
  • Lock-Free Data Structures planned target deep high
  • Read-Mostly Synchronization: RWLocks, Seqlocks & RCU planned target working mid
  • Ring Buffers & SPSC/MPSC Queues planned target deep high

Async & Coroutines

  • Async I/O & Event Loops planned target deep top
  • Coroutines & async/await planned target working high
  • Structured Concurrency planned target overview mid

Coordination Patterns

  • Channels & the Actor Model planned target working mid
  • Thread Pools & Work Stealing planned target working mid
  • Backpressure & Bounded Queues planned target working mid

Hazards & Verification

  • Deadlock, Livelock & Starvation planned target working high
  • Data Races & Race Detection Tools planned target working mid

Searches titles, aliases, headings, summaries, and full text.↑↓ move ↵ open esc close