Synchronization
import Synchronization
Module information
- Declarations
- 316
- Symbols
- 320
import Synchronization
func atomicMemoryFence(ordering: AtomicUpdateOrdering)
Establishes a memory ordering without associating it with a particular atomic operation.
protocol AtomicOptionalRepresentable : AtomicRepresentable
An atomic value that also supports atomic operations when wrapped in an Optional
. Atomic optional representable types come with a standalone atomic representation for their optional-wrapped variants.
protocol AtomicRepresentable
A type that supports atomic operations through a separate atomic storage representation.
@frozen struct Atomic<Value> where Value : AtomicRepresentable
An atomic value.
@frozen struct AtomicLazyReference<Instance> where Instance : AnyObject
A lazily initializable atomic strong reference.
@frozen struct AtomicLoadOrdering
Specifies the memory ordering semantics of an atomic load operation.
@frozen struct AtomicStoreOrdering
Specifies the memory ordering semantics of an atomic store operation.
@frozen struct AtomicUpdateOrdering
Specifies the memory ordering semantics of an atomic read-modify-write operation.
@frozen struct Mutex<Value> where Value : ~Copyable
A synchronization primitive that protects shared mutable state via mutual exclusion.
@frozen struct WordPair
A pair of two word sized UInt
s.
import Cxx
import Dispatch
import DispatchIntrospection
import Distributed
import Foundation
import FoundationEssentials
import FoundationInternationalization
import FoundationNetworking
import FoundationXML
import RegexBuilder
import Swift
import XCTest
import _Concurrency
import _Differentiation
import _RegexParser
import _StringProcessing