swift-atomics icon indicating copy to clipboard operation
swift-atomics copied to clipboard

Low-level atomic operations for Swift

Results 24 swift-atomics issues
Sort by recently updated
recently updated
newest added

An example I wrote a while back needs atomics both for a `RawRepresentable` type and its Optional. This particular combination of functionality was missing from the package. This PR defines...

This repository contains a couple of lit tests that look at generated code to catch potential codegen issues and to verify that constant folding gets rid of switch statements over...

enhancement

This may not be a bug in this package, but the following sequence of commands: ``` swift package init # ... add dependencies as described in `README.md` swift package update...

bug

This package needs to provide convenient support for tagged atomics, where each atomic value carries some additional information (a version counter, a set of bit flags, etc.). Concurrent data structures...

enhancement

To simplify the initial implementation, atomic references currently treat all orderings as acquire/release, including `.sequentiallyConsistent`. This isn't tenable -- they should at least differentiate between acquire/release and sequentially consistent orderings....

enhancement

### Problem Swift atomics fails to compile running `xcodebuild` with `OTHER_SWIFT_FLAGS`. For example: ```sh $ xcodebuild build OTHER_SWIFT_FLAGS="-suppress-warnings" ... /Sources/Atomics/Conformances/autogenerated/AtomicBool.swift:22:8: error: no such module 'Builtin' import Builtin ^ ** BUILD...

bug

Now that we have [`@_rawLayout`](https://github.com/apple/swift/pull/67425), it is now possible to start drafting the move-only `Atomic` type we always wanted. This is an early experiment that isn't ready for prime time...

Hi, I'm not able to archive my standalone swift package supporting only iOS platform when I have swift-atomics in the SPM transitive dependencies of my swift package SPM dependencies. ###...

bug

Swift Atomics can't be used in Swift Playgrounds.app because of a C target. We would like to use Swift Atomics in AudioKit (https://github.com/audiokit/audiokit) and we support Swift Playgrounds. (Note that...

bug

### Description For real time programming the `@_noLocks` and `@_noAllocation` Swift attributes provide programmers with a convenient way of ensuring the safety of their code in a real time environment....

bug