Static Propertyswift-nio 2.84.0NIOConcurrencyHelpers->Swift
nio_atomic_compare_and_exchange
NIOAtomic.swift:149static let nio_atomic_compare_and_exchange: (UnsafeMutablePointer<catmc_nio_atomic_unsigned_long_long>, UInt64, UInt64) -> Bool
static let nio_atomic_compare_and_exchange: (UnsafeMutablePointer<catmc_nio_atomic_unsigned_long_long>, UInt64, UInt64) -> Bool
ss6UInt64V21NIOConcurrencyHelpersE31nio_atomic_compare_and_exchangeySbSpySo06catmc_d1_e15_unsigned_long_K0VG_A2BtYbcvpZ
What are these?8YML5
import Swift
import NIOConcurrencyHelpers
@frozen struct UInt64
A 64-bit unsigned integer value type.
@frozen struct UnsafeMutablePointer<Pointee> where Pointee : ~Copyable
A pointer for accessing and manipulating data of a specific type.
struct catmc_nio_atomic_unsigned_long_long
@frozen struct Bool
A value type whose instances are either true
or false
.
static let atomic_add: (OpaquePointer, UInt64) -> UInt64
static let atomic_compare_and_exchange: (OpaquePointer, UInt64, UInt64) -> Bool
static let atomic_create: (UInt64) -> OpaquePointer
static let atomic_destroy: (OpaquePointer) -> Void
static let atomic_exchange: (OpaquePointer, UInt64) -> UInt64
static let atomic_load: (OpaquePointer) -> UInt64
static let atomic_store: (OpaquePointer, UInt64) -> Void
static let atomic_sub: (OpaquePointer, UInt64) -> UInt64
static let nio_atomic_add: (UnsafeMutablePointer<catmc_nio_atomic_unsigned_long_long>, UInt64) -> UInt64
static let nio_atomic_create_with_existing_storage: (UnsafeMutablePointer<catmc_nio_atomic_unsigned_long_long>, UInt64) -> Void
static let nio_atomic_exchange: (UnsafeMutablePointer<catmc_nio_atomic_unsigned_long_long>, UInt64) -> UInt64
static let nio_atomic_load: (UnsafeMutablePointer<catmc_nio_atomic_unsigned_long_long>) -> UInt64
static let nio_atomic_store: (UnsafeMutablePointer<catmc_nio_atomic_unsigned_long_long>, UInt64) -> Void
static let nio_atomic_sub: (UnsafeMutablePointer<catmc_nio_atomic_unsigned_long_long>, UInt64) -> UInt64
typealias AtomicWrapper = catmc_nio_atomic_unsigned_long_long