...

/

Types of Synchronization & Ordering Constraints

Types of Synchronization & Ordering Constraints

This lesson introduces the types of synchronization and ordering constraints in C++.

We'll cover the following...

There are, roughly speaking, three different types of synchronization and ordering constraints in C++:

  • Sequential consistency: memory_order_seq_cst
  • Acquire-release: memory_order_consume, memory_order_acquire, memory_order_release and
...