@@ -200,10 +200,10 @@ public extension DispatchQueue {
200200 if group == nil && qos == . unspecified {
201201 // Fast-path route for the most common API usage
202202 if flags. isEmpty {
203- __dispatch_async ( self , work)
203+ _swift_dispatch_async ( self , work)
204204 return
205205 } else if flags == . barrier {
206- __dispatch_barrier_async ( self , work)
206+ _swift_dispatch_barrier_async ( self , work)
207207 return
208208 }
209209 }
@@ -215,9 +215,9 @@ public extension DispatchQueue {
215215 }
216216
217217 if let g = group {
218- __dispatch_group_async ( g, self , block)
218+ _swift_dispatch_group_async ( g, self , block)
219219 } else {
220- __dispatch_async ( self , block)
220+ _swift_dispatch_async ( self , block)
221221 }
222222 }
223223
@@ -292,9 +292,9 @@ public extension DispatchQueue {
292292 {
293293 if #available( OSX 10 . 10 , iOS 8 . 0 , * ) , qos != . unspecified || !flags. isEmpty {
294294 let item = DispatchWorkItem ( qos: qos, flags: flags, block: work)
295- __dispatch_after ( deadline. rawValue, self , item. _block)
295+ _swift_dispatch_after ( deadline. rawValue, self , item. _block)
296296 } else {
297- __dispatch_after ( deadline. rawValue, self , work)
297+ _swift_dispatch_after ( deadline. rawValue, self , work)
298298 }
299299 }
300300
@@ -306,20 +306,20 @@ public extension DispatchQueue {
306306 {
307307 if #available( OSX 10 . 10 , iOS 8 . 0 , * ) , qos != . unspecified || !flags. isEmpty {
308308 let item = DispatchWorkItem ( qos: qos, flags: flags, block: work)
309- __dispatch_after ( wallDeadline. rawValue, self , item. _block)
309+ _swift_dispatch_after ( wallDeadline. rawValue, self , item. _block)
310310 } else {
311- __dispatch_after ( wallDeadline. rawValue, self , work)
311+ _swift_dispatch_after ( wallDeadline. rawValue, self , work)
312312 }
313313 }
314314
315315 @available ( OSX 10 . 10 , iOS 8 . 0 , * )
316316 public func asyncAfter( deadline: DispatchTime , execute: DispatchWorkItem ) {
317- __dispatch_after ( deadline. rawValue, self , execute. _block)
317+ _swift_dispatch_after ( deadline. rawValue, self , execute. _block)
318318 }
319319
320320 @available ( OSX 10 . 10 , iOS 8 . 0 , * )
321321 public func asyncAfter( wallDeadline: DispatchWallTime , execute: DispatchWorkItem ) {
322- __dispatch_after ( wallDeadline. rawValue, self , execute. _block)
322+ _swift_dispatch_after ( wallDeadline. rawValue, self , execute. _block)
323323 }
324324
325325 @available ( OSX 10 . 10 , iOS 8 . 0 , * )
0 commit comments