vsync / atomic.h

Rich interface of atomic operations and fences.

Atomics are implemented in custom assembly or compiler builtins.

  • check core.h for the documentation of the core interface.
  • check await.h for the documentation of the await interface.
  • check config.h to learn about libvsync available configurations.
  • check atomic/dispatch.h an additional dispatch layer allows for a more flexible use of the interface.