@@ -44,7 +44,7 @@ public class DispatchObject {
44
44
}
45
45
46
46
47
- public class DispatchGroup : DispatchObject {
47
+ public class DispatchGroup : DispatchObject , @ unchecked Sendable {
48
48
internal let __wrapped : dispatch_group_t ;
49
49
50
50
final internal override func wrapped( ) -> dispatch_object_t {
@@ -68,7 +68,7 @@ public class DispatchGroup : DispatchObject {
68
68
}
69
69
}
70
70
71
- public class DispatchSemaphore : DispatchObject {
71
+ public class DispatchSemaphore : DispatchObject , @ unchecked Sendable {
72
72
internal let __wrapped : dispatch_semaphore_t ;
73
73
74
74
final internal override func wrapped( ) -> dispatch_object_t {
@@ -84,8 +84,8 @@ public class DispatchSemaphore : DispatchObject {
84
84
}
85
85
}
86
86
87
- public class DispatchIO : DispatchObject {
88
- internal let __wrapped : dispatch_io_t
87
+ public class DispatchIO : DispatchObject , @ unchecked Sendable {
88
+ internal let __wrapped : dispatch_io_t
89
89
90
90
final internal override func wrapped( ) -> dispatch_object_t {
91
91
return unsafeBitCast ( __wrapped, to: dispatch_object_t. self)
@@ -127,7 +127,7 @@ public class DispatchIO : DispatchObject {
127
127
}
128
128
}
129
129
130
- public class DispatchQueue : DispatchObject {
130
+ public class DispatchQueue : DispatchObject , @ unchecked Sendable {
131
131
internal let __wrapped : dispatch_queue_t ;
132
132
133
133
final internal override func wrapped( ) -> dispatch_object_t {
@@ -156,6 +156,7 @@ public class DispatchQueue : DispatchObject {
156
156
}
157
157
158
158
public class DispatchSource : DispatchObject ,
159
+ @unchecked Sendable ,
159
160
DispatchSourceProtocol , DispatchSourceRead ,
160
161
DispatchSourceSignal , DispatchSourceTimer ,
161
162
DispatchSourceUserDataAdd , DispatchSourceUserDataOr ,
0 commit comments