mirror of
https://github.com/apple/swift-atomics
synced 2026-11-25 04:37:47 +00:00
For builtins, we want to emulate the stdlib’s solution where all atomic primitive operations take and return a (sort of) opaque atomic representation value. For C shims, we do not want to atomic primitives to take and return _Atomic(T) values, so let’s revert to the original 1.1.x solution.