From 5c3222c37a5c6064d66762aca140a8748c56d2ac Mon Sep 17 00:00:00 2001 From: Marcelo Fabri Date: Tue, 27 Aug 2024 00:32:10 -0700 Subject: [PATCH] Add Sendable conformance to AtomicInt (#2624) --- Platform/AtomicInt.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Platform/AtomicInt.swift b/Platform/AtomicInt.swift index 98479fd2c..cef1c1f0c 100644 --- a/Platform/AtomicInt.swift +++ b/Platform/AtomicInt.swift @@ -8,7 +8,7 @@ import Foundation -final class AtomicInt: NSLock { +final class AtomicInt: NSLock, @unchecked Sendable { fileprivate var value: Int32 public init(_ value: Int32 = 0) { self.value = value