We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d9d5ea commit cb9bd9dCopy full SHA for cb9bd9d
Sources/Foundation/NSLock.swift
@@ -49,7 +49,6 @@ private typealias _RecursiveMutexPointer = UnsafeMutablePointer<pthread_mutex_t>
49
private typealias _ConditionVariablePointer = UnsafeMutablePointer<pthread_cond_t>
50
#endif
51
52
-// fix for: https://github.com/apple/swift-corelibs-foundation/issues/4941
53
open class NSLock: NSObject, NSLocking, @unchecked Sendable {
54
internal var mutex = _MutexPointer.allocate(capacity: 1)
55
#if os(macOS) || os(iOS) || os(Windows)
0 commit comments