Atomic Operation API

API Reference

An atomic operation interface for Legato. Using an atomic operation has two effects:

  • Ensures all threads either see the whole operation performed, or none of it, and
  • Provides guarantees on when the effects of an operation are seen by other threads, relative to the surrounding code.