File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ extension NSLock {
166
166
}
167
167
168
168
#if SWIFT_CORELIBS_FOUNDATION_HAS_THREADS
169
- open class NSConditionLock : NSObject , NSLocking {
169
+ open class NSConditionLock : NSObject , NSLocking , @ unchecked Sendable {
170
170
internal var _cond = NSCondition ( )
171
171
internal var _value : Int
172
172
internal var _thread : _swift_CFThreadRef ?
@@ -260,7 +260,7 @@ open class NSConditionLock : NSObject, NSLocking {
260
260
}
261
261
#endif
262
262
263
- open class NSRecursiveLock : NSObject , NSLocking {
263
+ open class NSRecursiveLock : NSObject , NSLocking , @ unchecked Sendable {
264
264
internal var mutex = _RecursiveMutexPointer. allocate ( capacity: 1 )
265
265
#if os(macOS) || os(iOS) || os(Windows)
266
266
private var timeoutCond = _ConditionVariablePointer. allocate ( capacity: 1 )
@@ -382,7 +382,7 @@ open class NSRecursiveLock: NSObject, NSLocking {
382
382
open var name : String ?
383
383
}
384
384
385
- open class NSCondition : NSObject , NSLocking {
385
+ open class NSCondition : NSObject , NSLocking , @ unchecked Sendable {
386
386
internal var mutex = _MutexPointer. allocate ( capacity: 1 )
387
387
internal var cond = _ConditionVariablePointer. allocate ( capacity: 1 )
388
388
You can’t perform that action at this time.
0 commit comments