Concurrency model

This hub maps the main concurrency building blocks in C++ and how they fit together. Use it to navigate from low-level thread primitives to async results and coroutine-based flows. Keep the model simple: execution units, shared state, synchronization edges, and completion channels.

# Mental Model Diagram

Execution Unitsthread / jthread / coroutineShared Stateobjects, queues, work itemsCompletion Channelpromise -> futureSynchronization Layermutex / condition_variable / latch / barrier / atomicsestablishes ordering and visibilityguards access + ordering

Key idea: execution units communicate through shared state; synchronization defines visibility/order; futures/promises carry completion and result transfer.

# Execution Units

# Synchronization Primitives

# Atomics and Ordering

# Async Results and Cancellation

# Fast Entry Points