Initial prototype for Swift 6 mode

This commit is contained in:
John Estropia
2026-07-07 11:18:17 +09:00
parent 38ec439b18
commit 49f65601cd
71 changed files with 998 additions and 684 deletions
+2 -2
View File
@@ -99,7 +99,7 @@ extension DispatchQueue {
@nonobjc @inline(__always)
internal func cs_async(
_ closure: @escaping () -> Void
_ closure: @escaping @Sendable () -> Void
) {
self.async { autoreleasepool(invoking: closure) }
@@ -115,7 +115,7 @@ extension DispatchQueue {
@nonobjc @inline(__always)
internal func cs_barrierAsync(
_ closure: @escaping () -> Void
_ closure: @escaping @Sendable () -> Void
) {
self.async(flags: .barrier) { autoreleasepool(invoking: closure) }