Mojo module
atomic
Implements the Atomic struct.
You can import these APIs from the atomic package. For example:
from std.atomic import AtomicStructs
-
Atomic: Represents a value with atomic operations. -
Ordering: Represents the memory ordering for atomic operations.
Functions
-
fence: Creates an atomic fence.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!