From 81d30f50be5f2abb36b8b45b7bf87c369dedfd96 Mon Sep 17 00:00:00 2001 From: Mishal Shah Date: Tue, 4 Mar 2025 23:35:49 -0800 Subject: [PATCH] Update the swift-evolution urls --- README.md | 6 +++--- Sources/Atomics/Atomics.docc/Atomics.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5afb7f3..33f1cb3 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Swift Atomics ⚛︎︎ -[SE-0282]: https://github.com/apple/swift-evolution/blob/master/proposals/0282-atomics.md -[SE-0282r0]: https://github.com/apple/swift-evolution/blob/3a358a07e878a58bec256639d2beb48461fc3177/proposals/0282-atomics.md +[SE-0282]: https://github.com/swiftlang/swift-evolution/blob/main/proposals/0282-atomics.md +[SE-0282r0]: https://github.com/swiftlang/swift-evolution/blob/3a358a07e878a58bec256639d2beb48461fc3177/proposals/0282-atomics.md This package implements an atomics library for Swift, providing atomic operations for a variety of Swift types, including integers and pointer values. The goal is to enable intrepid developers to start building synchronization constructs directly in Swift. @@ -161,7 +161,7 @@ Atomic access is implemented in terms of dedicated atomic storage representation - it enables custom storage representations (such as the one used by atomic strong references), and - it is a better fit with the standard C atomics library that we use to implement the actual operations (as enabled by [SE-0282]). -[SE-0282]: https://github.com/apple/swift-evolution/blob/master/proposals/0282-atomics.md +[SE-0282]: https://github.com/apple/swift-evolution/blob/main/proposals/0282-atomics.md While the underlying pointer-based atomic operations are exposed as static methods on the corresponding [`AtomicStorage`][AtomicStorage] types, we strongly recommend the use of higher-level atomic wrappers to manage the details of preparing/disposing atomic storage. This version of the library provides two wrapper types: diff --git a/Sources/Atomics/Atomics.docc/Atomics.md b/Sources/Atomics/Atomics.docc/Atomics.md index 59e63c6..dd62b51 100644 --- a/Sources/Atomics/Atomics.docc/Atomics.md +++ b/Sources/Atomics/Atomics.docc/Atomics.md @@ -51,7 +51,7 @@ Atomic access is implemented in terms of dedicated atomic storage representation - it enables custom storage representations (such as the one used by atomic strong references), and - it is a better fit with the standard C atomics library that we use to implement the actual operations (as enabled by [SE-0282]). -[SE-0282]: https://github.com/apple/swift-evolution/blob/master/proposals/0282-atomics.md +[SE-0282]: https://github.com/swiftlang/swift-evolution/blob/main/proposals/0282-atomics.md While the underlying pointer-based atomic operations are exposed as static methods on the corresponding `AtomicStorage` types, we strongly recommend the use of higher-level atomic wrappers to manage the details of preparing/disposing atomic storage. This version of the library provides two wrapper types: