<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -",
    "watchOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Swift",
  "identifier" : "/documentation/Synchronization/AtomicStoreOrdering",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Synchronization"
    ],
    "preciseIdentifier" : "s:15Synchronization19AtomicStoreOrderingV"
  },
  "title" : "AtomicStoreOrdering"
}
-->

# AtomicStoreOrdering

Specifies the memory ordering semantics of an atomic store operation.

```
@frozen struct AtomicStoreOrdering
```

## Topics

### Type Properties

[`static var relaxed: AtomicStoreOrdering`](/documentation/Synchronization/AtomicStoreOrdering/relaxed)

Guarantees the atomicity of the specific operation on which it is applied,
but imposes no ordering constraints on any other variable accesses.

[`static var releasing: AtomicStoreOrdering`](/documentation/Synchronization/AtomicStoreOrdering/releasing)

A releasing store synchronizes with acquiring operations that
read the value it stores. It ensures that the releasing and
acquiring threads agree that all preceding variable accesses on
the releasing thread happen before the atomic operation itself.

[`static var sequentiallyConsistent: AtomicStoreOrdering`](/documentation/Synchronization/AtomicStoreOrdering/sequentiallyConsistent)

A sequentially consistent store performs a releasing store and
also guarantees that it and all other sequentially consistent
atomic operations (loads, stores, updates) appear to be executed
in a single, total sequential ordering.

## Relationships

### Conforms To

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

[`Escapable`](/documentation/Swift/Escapable)

[`Copyable`](/documentation/Swift/Copyable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Equatable`](/documentation/Swift/Equatable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)