Documentation Archive Developer
Search

Dispatch Changes

Dispatch

Removed dispatch_release(dispatch_object_t!)
Removed dispatch_retain(dispatch_object_t!)
Added NSEC_PER_MSEC
Added NSEC_PER_SEC
Added NSEC_PER_USEC
Added USEC_PER_SEC
Added dispatch_data_empty
Added dispatch_get_global_queue(qos_class_t, UInt) -> dispatch_queue_t
Modified dispatch_after(dispatch_time_t, dispatch_queue_t, dispatch_block_t)
DeclarationIntroduction
From
func dispatch_after(_ when: dispatch_time_t, _ queue: dispatch_queue_t!, _ block: dispatch_block_t!)
OS X 10.10
To
func dispatch_after(_ when: dispatch_time_t, _ queue: dispatch_queue_t, _ block: dispatch_block_t)
OS X 10.6

Modified dispatch_after_f(dispatch_time_t, dispatch_queue_t, UnsafeMutablePointer<Void>, dispatch_function_t)
DeclarationIntroduction
From
func dispatch_after_f(_ when: dispatch_time_t, _ queue: dispatch_queue_t!, _ context: UnsafePointer<()>, _ work: dispatch_function_t)
OS X 10.10
To
func dispatch_after_f(_ when: dispatch_time_t, _ queue: dispatch_queue_t, _ context: UnsafeMutablePointer<Void>, _ work: dispatch_function_t)
OS X 10.6

Modified dispatch_apply(Int, dispatch_queue_t!,(Int) -> Void)
DeclarationIntroduction
From
func dispatch_apply(_ iterations: UInt, _ queue: dispatch_queue_t!, _ block: ((UInt) -> Void)!)
OS X 10.10
To
func dispatch_apply(_ iterations: Int, _ queue: dispatch_queue_t!, _ block: (Int) -> Void)
OS X 10.6

Modified dispatch_apply_f(Int, dispatch_queue_t!, UnsafeMutablePointer<Void>, CFunctionPointer<((UnsafeMutablePointer<Void>, Int) -> Void)>)
DeclarationIntroduction
From
func dispatch_apply_f(_ iterations: UInt, _ queue: dispatch_queue_t!, _ context: UnsafePointer<()>, _ work: CFunctionPointer<((UnsafePointer<()>, UInt) -> Void)>)
OS X 10.10
To
func dispatch_apply_f(_ iterations: Int, _ queue: dispatch_queue_t!, _ context: UnsafeMutablePointer<Void>, _ work: CFunctionPointer<((UnsafeMutablePointer<Void>, Int) -> Void)>)
OS X 10.6

Modified dispatch_async(dispatch_queue_t, dispatch_block_t)
DeclarationIntroduction
From
func dispatch_async(_ queue: dispatch_queue_t!, _ block: dispatch_block_t!)
OS X 10.10
To
func dispatch_async(_ queue: dispatch_queue_t, _ block: dispatch_block_t)
OS X 10.6

Modified dispatch_async_f(dispatch_queue_t, UnsafeMutablePointer<Void>, dispatch_function_t)
DeclarationIntroduction
From
func dispatch_async_f(_ queue: dispatch_queue_t!, _ context: UnsafePointer<()>, _ work: dispatch_function_t)
OS X 10.10
To
func dispatch_async_f(_ queue: dispatch_queue_t, _ context: UnsafeMutablePointer<Void>, _ work: dispatch_function_t)
OS X 10.6

Modified dispatch_barrier_async(dispatch_queue_t, dispatch_block_t)
DeclarationIntroduction
From
func dispatch_barrier_async(_ queue: dispatch_queue_t!, _ block: dispatch_block_t!)
OS X 10.10
To
func dispatch_barrier_async(_ queue: dispatch_queue_t, _ block: dispatch_block_t)
OS X 10.7

Modified dispatch_barrier_async_f(dispatch_queue_t, UnsafeMutablePointer<Void>, dispatch_function_t)
DeclarationIntroduction
From
func dispatch_barrier_async_f(_ queue: dispatch_queue_t!, _ context: UnsafePointer<()>, _ work: dispatch_function_t)
OS X 10.10
To
func dispatch_barrier_async_f(_ queue: dispatch_queue_t, _ context: UnsafeMutablePointer<Void>, _ work: dispatch_function_t)
OS X 10.7

Modified dispatch_barrier_sync(dispatch_queue_t, dispatch_block_t)
DeclarationIntroduction
From
func dispatch_barrier_sync(_ queue: dispatch_queue_t!, _ block: dispatch_block_t!)
OS X 10.10
To
func dispatch_barrier_sync(_ queue: dispatch_queue_t, _ block: dispatch_block_t)
OS X 10.7

Modified dispatch_barrier_sync_f(dispatch_queue_t, UnsafeMutablePointer<Void>, dispatch_function_t)
DeclarationIntroduction
From
func dispatch_barrier_sync_f(_ queue: dispatch_queue_t!, _ context: UnsafePointer<()>, _ work: dispatch_function_t)
OS X 10.10
To
func dispatch_barrier_sync_f(_ queue: dispatch_queue_t, _ context: UnsafeMutablePointer<Void>, _ work: dispatch_function_t)
OS X 10.7

Modified dispatch_block_cancel(dispatch_block_t)
Declaration
From
func dispatch_block_cancel(_ block: dispatch_block_t!)
To
func dispatch_block_cancel(_ block: dispatch_block_t)

Modified dispatch_block_create(dispatch_block_flags_t, dispatch_block_t) -> dispatch_block_t!
Declaration
From
func dispatch_block_create(_ flags: dispatch_block_flags_t, _ block: dispatch_block_t!) -> dispatch_block_t!
To
func dispatch_block_create(_ flags: dispatch_block_flags_t, _ block: dispatch_block_t) -> dispatch_block_t!

Modified dispatch_block_create_with_qos_class(dispatch_block_flags_t, dispatch_qos_class_t, Int32, dispatch_block_t) -> dispatch_block_t!
Declaration
From
func dispatch_block_create_with_qos_class(_ flags: dispatch_block_flags_t, _ qos_class: dispatch_qos_class_t, _ relative_priority: Int32, _ block: dispatch_block_t!) -> dispatch_block_t!
To
func dispatch_block_create_with_qos_class(_ flags: dispatch_block_flags_t, _ qos_class: dispatch_qos_class_t, _ relative_priority: Int32, _ block: dispatch_block_t) -> dispatch_block_t!

Modified dispatch_block_notify(dispatch_block_t, dispatch_queue_t, dispatch_block_t)
Declaration
From
func dispatch_block_notify(_ block: dispatch_block_t!, _ queue: dispatch_queue_t!, _ notification_block: dispatch_block_t!)
To
func dispatch_block_notify(_ block: dispatch_block_t, _ queue: dispatch_queue_t, _ notification_block: dispatch_block_t)

Modified dispatch_block_perform(dispatch_block_flags_t, dispatch_block_t)
Declaration
From
func dispatch_block_perform(_ flags: dispatch_block_flags_t, _ block: dispatch_block_t!)
To
func dispatch_block_perform(_ flags: dispatch_block_flags_t, _ block: dispatch_block_t)

Modified dispatch_block_testcancel(dispatch_block_t) -> Int
Declaration
From
func dispatch_block_testcancel(_ block: dispatch_block_t!) -> Int
To
func dispatch_block_testcancel(_ block: dispatch_block_t) -> Int

Modified dispatch_block_wait(dispatch_block_t, dispatch_time_t) -> Int
Declaration
From
func dispatch_block_wait(_ block: dispatch_block_t!, _ timeout: dispatch_time_t) -> Int
To
func dispatch_block_wait(_ block: dispatch_block_t, _ timeout: dispatch_time_t) -> Int

Modified dispatch_data_applier_t
Declaration
From
typealias dispatch_data_applier_t = (dispatch_data_t!, UInt, ConstUnsafePointer<()>, UInt) -> Bool
To
typealias dispatch_data_applier_t = (dispatch_data_t!, Int, UnsafePointer<Void>, Int) -> Bool

Modified dispatch_data_apply(dispatch_data_t, dispatch_data_applier_t) -> Bool
DeclarationIntroduction
From
func dispatch_data_apply(_ data: dispatch_data_t!, _ applier: dispatch_data_applier_t!) -> Bool
OS X 10.10
To
func dispatch_data_apply(_ data: dispatch_data_t, _ applier: dispatch_data_applier_t) -> Bool
OS X 10.7

Modified dispatch_data_copy_region(dispatch_data_t, Int, UnsafeMutablePointer<Int>) -> dispatch_data_t!
DeclarationIntroduction
From
func dispatch_data_copy_region(_ data: dispatch_data_t!, _ location: UInt, _ offset_ptr: UnsafePointer<UInt>) -> dispatch_data_t!
OS X 10.10
To
func dispatch_data_copy_region(_ data: dispatch_data_t, _ location: Int, _ offset_ptr: UnsafeMutablePointer<Int>) -> dispatch_data_t!
OS X 10.7

Modified dispatch_data_create(UnsafePointer<Void>, Int, dispatch_queue_t!, dispatch_block_t!) -> dispatch_data_t!
DeclarationIntroduction
From
func dispatch_data_create(_ buffer: ConstUnsafePointer<()>, _ size: UInt, _ queue: dispatch_queue_t!, _ destructor: dispatch_block_t!) -> dispatch_data_t!
OS X 10.10
To
func dispatch_data_create(_ buffer: UnsafePointer<Void>, _ size: Int, _ queue: dispatch_queue_t!, _ destructor: dispatch_block_t!) -> dispatch_data_t!
OS X 10.7

Modified dispatch_data_create_concat(dispatch_data_t, dispatch_data_t) -> dispatch_data_t!
DeclarationIntroduction
From
func dispatch_data_create_concat(_ data1: dispatch_data_t!, _ data2: dispatch_data_t!) -> dispatch_data_t!
OS X 10.10
To
func dispatch_data_create_concat(_ data1: dispatch_data_t, _ data2: dispatch_data_t) -> dispatch_data_t!
OS X 10.7

Modified dispatch_data_create_map(dispatch_data_t, UnsafeMutablePointer<UnsafePointer<Void>>, UnsafeMutablePointer<Int>) -> dispatch_data_t!
DeclarationIntroduction
From
func dispatch_data_create_map(_ data: dispatch_data_t!, _ buffer_ptr: UnsafePointer<ConstUnsafePointer<()>>, _ size_ptr: UnsafePointer<UInt>) -> dispatch_data_t!
OS X 10.10
To
func dispatch_data_create_map(_ data: dispatch_data_t, _ buffer_ptr: UnsafeMutablePointer<UnsafePointer<Void>>, _ size_ptr: UnsafeMutablePointer<Int>) -> dispatch_data_t!
OS X 10.7

Modified dispatch_data_create_subrange(dispatch_data_t, Int, Int) -> dispatch_data_t!
DeclarationIntroduction
From
func dispatch_data_create_subrange(_ data: dispatch_data_t!, _ offset: UInt, _ length: UInt) -> dispatch_data_t!
OS X 10.10
To
func dispatch_data_create_subrange(_ data: dispatch_data_t, _ offset: Int, _ length: Int) -> dispatch_data_t!
OS X 10.7

Modified dispatch_data_get_size(dispatch_data_t) -> Int
DeclarationIntroduction
From
func dispatch_data_get_size(_ data: dispatch_data_t!) -> UInt
OS X 10.10
To
func dispatch_data_get_size(_ data: dispatch_data_t) -> Int
OS X 10.7

Modified dispatch_function_t
Declaration
From
typealias dispatch_function_t = CFunctionPointer<((UnsafePointer<()>) -> Void)>
To
typealias dispatch_function_t = CFunctionPointer<((UnsafeMutablePointer<Void>) -> Void)>

Modified dispatch_get_context(dispatch_object_t) -> UnsafeMutablePointer<Void>
DeclarationIntroduction
From
func dispatch_get_context(_ object: dispatch_object_t!) -> UnsafePointer<()>
OS X 10.10
To
func dispatch_get_context(_ object: dispatch_object_t) -> UnsafeMutablePointer<Void>
OS X 10.6

Modified dispatch_get_global_queue(Int, UInt) -> dispatch_queue_t!
Introduction
FromOS X 10.10
ToOS X 10.6

Modified dispatch_get_specific(UnsafePointer<Void>) -> UnsafeMutablePointer<Void>
DeclarationIntroduction
From
func dispatch_get_specific(_ key: ConstUnsafePointer<()>) -> UnsafePointer<()>
OS X 10.10
To
func dispatch_get_specific(_ key: UnsafePointer<Void>) -> UnsafeMutablePointer<Void>
OS X 10.7

Modified dispatch_group_async(dispatch_group_t, dispatch_queue_t, dispatch_block_t)
DeclarationIntroduction
From
func dispatch_group_async(_ group: dispatch_group_t!, _ queue: dispatch_queue_t!, _ block: dispatch_block_t!)
OS X 10.10
To
func dispatch_group_async(_ group: dispatch_group_t, _ queue: dispatch_queue_t, _ block: dispatch_block_t)
OS X 10.6

Modified dispatch_group_async_f(dispatch_group_t, dispatch_queue_t, UnsafeMutablePointer<Void>, dispatch_function_t)
DeclarationIntroduction
From
func dispatch_group_async_f(_ group: dispatch_group_t!, _ queue: dispatch_queue_t!, _ context: UnsafePointer<()>, _ work: dispatch_function_t)
OS X 10.10
To
func dispatch_group_async_f(_ group: dispatch_group_t, _ queue: dispatch_queue_t, _ context: UnsafeMutablePointer<Void>, _ work: dispatch_function_t)
OS X 10.6

Modified dispatch_group_create() -> dispatch_group_t!
Introduction
FromOS X 10.10
ToOS X 10.6

Modified dispatch_group_enter(dispatch_group_t)
DeclarationIntroduction
From
func dispatch_group_enter(_ group: dispatch_group_t!)
OS X 10.10
To
func dispatch_group_enter(_ group: dispatch_group_t)
OS X 10.6

Modified dispatch_group_leave(dispatch_group_t)
DeclarationIntroduction
From
func dispatch_group_leave(_ group: dispatch_group_t!)
OS X 10.10
To
func dispatch_group_leave(_ group: dispatch_group_t)
OS X 10.6

Modified dispatch_group_notify(dispatch_group_t, dispatch_queue_t, dispatch_block_t)
DeclarationIntroduction
From
func dispatch_group_notify(_ group: dispatch_group_t!, _ queue: dispatch_queue_t!, _ block: dispatch_block_t!)
OS X 10.10
To
func dispatch_group_notify(_ group: dispatch_group_t, _ queue: dispatch_queue_t, _ block: dispatch_block_t)
OS X 10.6

Modified dispatch_group_notify_f(dispatch_group_t, dispatch_queue_t, UnsafeMutablePointer<Void>, dispatch_function_t)
DeclarationIntroduction
From
func dispatch_group_notify_f(_ group: dispatch_group_t!, _ queue: dispatch_queue_t!, _ context: UnsafePointer<()>, _ work: dispatch_function_t)
OS X 10.10
To
func dispatch_group_notify_f(_ group: dispatch_group_t, _ queue: dispatch_queue_t, _ context: UnsafeMutablePointer<Void>, _ work: dispatch_function_t)
OS X 10.6

Modified dispatch_group_wait(dispatch_group_t, dispatch_time_t) -> Int
DeclarationIntroduction
From
func dispatch_group_wait(_ group: dispatch_group_t!, _ timeout: dispatch_time_t) -> Int
OS X 10.10
To
func dispatch_group_wait(_ group: dispatch_group_t, _ timeout: dispatch_time_t) -> Int
OS X 10.6

Modified dispatch_introspection_hook_queue_callout_begin(dispatch_queue_t!, UnsafeMutablePointer<Void>, dispatch_function_t)
DeclarationIntroduction
From
func dispatch_introspection_hook_queue_callout_begin(_ queue: dispatch_queue_t!, _ context: UnsafePointer<()>, _ function: dispatch_function_t)
OS X 10.10
To
func dispatch_introspection_hook_queue_callout_begin(_ queue: dispatch_queue_t!, _ context: UnsafeMutablePointer<Void>, _ function: dispatch_function_t)
OS X 10.9

Modified dispatch_introspection_hook_queue_callout_end(dispatch_queue_t!, UnsafeMutablePointer<Void>, dispatch_function_t)
DeclarationIntroduction
From
func dispatch_introspection_hook_queue_callout_end(_ queue: dispatch_queue_t!, _ context: UnsafePointer<()>, _ function: dispatch_function_t)
OS X 10.10
To
func dispatch_introspection_hook_queue_callout_end(_ queue: dispatch_queue_t!, _ context: UnsafeMutablePointer<Void>, _ function: dispatch_function_t)
OS X 10.9

Modified dispatch_introspection_hook_queue_create(dispatch_queue_t!)
Introduction
FromOS X 10.10
ToOS X 10.9

Modified dispatch_introspection_hook_queue_destroy(dispatch_queue_t!)
Introduction
FromOS X 10.10
ToOS X 10.9

Modified dispatch_introspection_hook_queue_item_dequeue(dispatch_queue_t!, dispatch_object_t!)
Introduction
FromOS X 10.10
ToOS X 10.9

Modified dispatch_introspection_hook_queue_item_enqueue(dispatch_queue_t!, dispatch_object_t!)
Introduction
FromOS X 10.10
ToOS X 10.9

Modified dispatch_io_barrier(dispatch_io_t, dispatch_block_t)
DeclarationIntroduction
From
func dispatch_io_barrier(_ channel: dispatch_io_t!, _ barrier: dispatch_block_t!)
OS X 10.10
To
func dispatch_io_barrier(_ channel: dispatch_io_t, _ barrier: dispatch_block_t)
OS X 10.7

Modified dispatch_io_close(dispatch_io_t, dispatch_io_close_flags_t)
DeclarationIntroduction
From
func dispatch_io_close(_ channel: dispatch_io_t!, _ flags: dispatch_io_close_flags_t)
OS X 10.10
To
func dispatch_io_close(_ channel: dispatch_io_t, _ flags: dispatch_io_close_flags_t)
OS X 10.7

Modified dispatch_io_create(dispatch_io_type_t, dispatch_fd_t, dispatch_queue_t!,((Int32) -> Void)!) -> dispatch_io_t!
Introduction
FromOS X 10.10
ToOS X 10.7

Modified dispatch_io_create_with_io(dispatch_io_type_t, dispatch_io_t, dispatch_queue_t!,((Int32) -> Void)!) -> dispatch_io_t!
DeclarationIntroduction
From
func dispatch_io_create_with_io(_ type: dispatch_io_type_t, _ io: dispatch_io_t!, _ queue: dispatch_queue_t!, _ cleanup_handler: ((Int32) -> Void)!) -> dispatch_io_t!
OS X 10.10
To
func dispatch_io_create_with_io(_ type: dispatch_io_type_t, _ io: dispatch_io_t, _ queue: dispatch_queue_t!, _ cleanup_handler: ((Int32) -> Void)!) -> dispatch_io_t!
OS X 10.7

Modified dispatch_io_create_with_path(dispatch_io_type_t, UnsafePointer<Int8>, Int32, mode_t, dispatch_queue_t!,((Int32) -> Void)!) -> dispatch_io_t!
DeclarationIntroduction
From
func dispatch_io_create_with_path(_ type: dispatch_io_type_t, _ path: ConstUnsafePointer<Int8>, _ oflag: Int32, _ mode: mode_t, _ queue: dispatch_queue_t!, _ cleanup_handler: ((Int32) -> Void)!) -> dispatch_io_t!
OS X 10.10
To
func dispatch_io_create_with_path(_ type: dispatch_io_type_t, _ path: UnsafePointer<Int8>, _ oflag: Int32, _ mode: mode_t, _ queue: dispatch_queue_t!, _ cleanup_handler: ((Int32) -> Void)!) -> dispatch_io_t!
OS X 10.7

Modified dispatch_io_get_descriptor(dispatch_io_t) -> dispatch_fd_t
DeclarationIntroduction
From
func dispatch_io_get_descriptor(_ channel: dispatch_io_t!) -> dispatch_fd_t
OS X 10.10
To
func dispatch_io_get_descriptor(_ channel: dispatch_io_t) -> dispatch_fd_t
OS X 10.7

Modified dispatch_io_read(dispatch_io_t, off_t, Int, dispatch_queue_t, dispatch_io_handler_t)
DeclarationIntroduction
From
func dispatch_io_read(_ channel: dispatch_io_t!, _ offset: off_t, _ length: UInt, _ queue: dispatch_queue_t!, _ io_handler: dispatch_io_handler_t!)
OS X 10.10
To
func dispatch_io_read(_ channel: dispatch_io_t, _ offset: off_t, _ length: Int, _ queue: dispatch_queue_t, _ io_handler: dispatch_io_handler_t)
OS X 10.7

Modified dispatch_io_set_high_water(dispatch_io_t, Int)
DeclarationIntroduction
From
func dispatch_io_set_high_water(_ channel: dispatch_io_t!, _ high_water: UInt)
OS X 10.10
To
func dispatch_io_set_high_water(_ channel: dispatch_io_t, _ high_water: Int)
OS X 10.7

Modified dispatch_io_set_interval(dispatch_io_t, UInt64, dispatch_io_interval_flags_t)
DeclarationIntroduction
From
func dispatch_io_set_interval(_ channel: dispatch_io_t!, _ interval: UInt64, _ flags: dispatch_io_interval_flags_t)
OS X 10.10
To
func dispatch_io_set_interval(_ channel: dispatch_io_t, _ interval: UInt64, _ flags: dispatch_io_interval_flags_t)
OS X 10.7

Modified dispatch_io_set_low_water(dispatch_io_t, Int)
DeclarationIntroduction
From
func dispatch_io_set_low_water(_ channel: dispatch_io_t!, _ low_water: UInt)
OS X 10.10
To
func dispatch_io_set_low_water(_ channel: dispatch_io_t, _ low_water: Int)
OS X 10.7

Modified dispatch_io_write(dispatch_io_t, off_t, dispatch_data_t, dispatch_queue_t, dispatch_io_handler_t)
DeclarationIntroduction
From
func dispatch_io_write(_ channel: dispatch_io_t!, _ offset: off_t, _ data: dispatch_data_t!, _ queue: dispatch_queue_t!, _ io_handler: dispatch_io_handler_t!)
OS X 10.10
To
func dispatch_io_write(_ channel: dispatch_io_t, _ offset: off_t, _ data: dispatch_data_t, _ queue: dispatch_queue_t, _ io_handler: dispatch_io_handler_t)
OS X 10.7

Modified dispatch_main()
Introduction
FromOS X 10.10
ToOS X 10.6

Modified dispatch_once(UnsafeMutablePointer<dispatch_once_t>, dispatch_block_t)
DeclarationIntroduction
From
func dispatch_once(_ predicate: UnsafePointer<dispatch_once_t>, _ block: dispatch_block_t!)
OS X 10.10
To
func dispatch_once(_ predicate: UnsafeMutablePointer<dispatch_once_t>, _ block: dispatch_block_t)
OS X 10.6

Modified dispatch_once_f(UnsafeMutablePointer<dispatch_once_t>, UnsafeMutablePointer<Void>, dispatch_function_t)
DeclarationIntroduction
From
func dispatch_once_f(_ predicate: UnsafePointer<dispatch_once_t>, _ context: UnsafePointer<()>, _ function: dispatch_function_t)
OS X 10.10
To
func dispatch_once_f(_ predicate: UnsafeMutablePointer<dispatch_once_t>, _ context: UnsafeMutablePointer<Void>, _ function: dispatch_function_t)
OS X 10.6

Modified dispatch_queue_create(UnsafePointer<Int8>, dispatch_queue_attr_t!) -> dispatch_queue_t!
DeclarationIntroduction
From
func dispatch_queue_create(_ label: ConstUnsafePointer<Int8>, _ attr: dispatch_queue_attr_t!) -> dispatch_queue_t!
OS X 10.10
To
func dispatch_queue_create(_ label: UnsafePointer<Int8>, _ attr: dispatch_queue_attr_t!) -> dispatch_queue_t!
OS X 10.6

Modified dispatch_queue_get_label(dispatch_queue_t!) -> UnsafePointer<Int8>
DeclarationIntroduction
From
func dispatch_queue_get_label(_ queue: dispatch_queue_t!) -> ConstUnsafePointer<Int8>
OS X 10.10
To
func dispatch_queue_get_label(_ queue: dispatch_queue_t!) -> UnsafePointer<Int8>
OS X 10.6

Modified dispatch_queue_get_qos_class(dispatch_queue_t, UnsafeMutablePointer<Int32>) -> dispatch_qos_class_t
Declaration
From
func dispatch_queue_get_qos_class(_ queue: dispatch_queue_t!, _ relative_priority_ptr: UnsafePointer<Int32>) -> dispatch_qos_class_t
To
func dispatch_queue_get_qos_class(_ queue: dispatch_queue_t, _ relative_priority_ptr: UnsafeMutablePointer<Int32>) -> dispatch_qos_class_t

Modified dispatch_queue_get_specific(dispatch_queue_t, UnsafePointer<Void>) -> UnsafeMutablePointer<Void>
DeclarationIntroduction
From
func dispatch_queue_get_specific(_ queue: dispatch_queue_t!, _ key: ConstUnsafePointer<()>) -> UnsafePointer<()>
OS X 10.10
To
func dispatch_queue_get_specific(_ queue: dispatch_queue_t, _ key: UnsafePointer<Void>) -> UnsafeMutablePointer<Void>
OS X 10.7

Modified dispatch_queue_set_specific(dispatch_queue_t, UnsafePointer<Void>, UnsafeMutablePointer<Void>, dispatch_function_t)
DeclarationIntroduction
From
func dispatch_queue_set_specific(_ queue: dispatch_queue_t!, _ key: ConstUnsafePointer<()>, _ context: UnsafePointer<()>, _ destructor: dispatch_function_t)
OS X 10.10
To
func dispatch_queue_set_specific(_ queue: dispatch_queue_t, _ key: UnsafePointer<Void>, _ context: UnsafeMutablePointer<Void>, _ destructor: dispatch_function_t)
OS X 10.7

Modified dispatch_read(dispatch_fd_t, Int, dispatch_queue_t,(dispatch_data_t!, Int32) -> Void)
DeclarationIntroduction
From
func dispatch_read(_ fd: dispatch_fd_t, _ length: UInt, _ queue: dispatch_queue_t!, _ handler: ((dispatch_data_t!, Int32) -> Void)!)
OS X 10.10
To
func dispatch_read(_ fd: dispatch_fd_t, _ length: Int, _ queue: dispatch_queue_t, _ handler: (dispatch_data_t!, Int32) -> Void)
OS X 10.7

Modified dispatch_resume(dispatch_object_t)
DeclarationIntroduction
From
func dispatch_resume(_ object: dispatch_object_t!)
OS X 10.10
To
func dispatch_resume(_ object: dispatch_object_t)
OS X 10.6

Modified dispatch_semaphore_create(Int) -> dispatch_semaphore_t!
Introduction
FromOS X 10.10
ToOS X 10.6

Modified dispatch_semaphore_signal(dispatch_semaphore_t) -> Int
DeclarationIntroduction
From
func dispatch_semaphore_signal(_ dsema: dispatch_semaphore_t!) -> Int
OS X 10.10
To
func dispatch_semaphore_signal(_ dsema: dispatch_semaphore_t) -> Int
OS X 10.6

Modified dispatch_semaphore_wait(dispatch_semaphore_t, dispatch_time_t) -> Int
DeclarationIntroduction
From
func dispatch_semaphore_wait(_ dsema: dispatch_semaphore_t!, _ timeout: dispatch_time_t) -> Int
OS X 10.10
To
func dispatch_semaphore_wait(_ dsema: dispatch_semaphore_t, _ timeout: dispatch_time_t) -> Int
OS X 10.6

Modified dispatch_set_context(dispatch_object_t!, UnsafeMutablePointer<Void>)
DeclarationIntroduction
From
func dispatch_set_context(_ object: dispatch_object_t!, _ context: UnsafePointer<()>)
OS X 10.10
To
func dispatch_set_context(_ object: dispatch_object_t!, _ context: UnsafeMutablePointer<Void>)
OS X 10.6

Modified dispatch_set_finalizer_f(dispatch_object_t!, dispatch_function_t)
Introduction
FromOS X 10.10
ToOS X 10.6

Modified dispatch_set_target_queue(dispatch_object_t!, dispatch_queue_t!)
Introduction
FromOS X 10.10
ToOS X 10.6

Modified dispatch_source_cancel(dispatch_source_t)
DeclarationIntroduction
From
func dispatch_source_cancel(_ source: dispatch_source_t!)
OS X 10.10
To
func dispatch_source_cancel(_ source: dispatch_source_t)
OS X 10.6

Modified dispatch_source_create(dispatch_source_type_t, UInt, UInt, dispatch_queue_t!) -> dispatch_source_t!
Introduction
FromOS X 10.10
ToOS X 10.6

Modified dispatch_source_get_data(dispatch_source_t) -> UInt
DeclarationIntroduction
From
func dispatch_source_get_data(_ source: dispatch_source_t!) -> UInt
OS X 10.10
To
func dispatch_source_get_data(_ source: dispatch_source_t) -> UInt
OS X 10.6

Modified dispatch_source_get_handle(dispatch_source_t) -> UInt
DeclarationIntroduction
From
func dispatch_source_get_handle(_ source: dispatch_source_t!) -> UInt
OS X 10.10
To
func dispatch_source_get_handle(_ source: dispatch_source_t) -> UInt
OS X 10.6

Modified dispatch_source_get_mask(dispatch_source_t) -> UInt
DeclarationIntroduction
From
func dispatch_source_get_mask(_ source: dispatch_source_t!) -> UInt
OS X 10.10
To
func dispatch_source_get_mask(_ source: dispatch_source_t) -> UInt
OS X 10.6

Modified dispatch_source_merge_data(dispatch_source_t, UInt)
DeclarationIntroduction
From
func dispatch_source_merge_data(_ source: dispatch_source_t!, _ value: UInt)
OS X 10.10
To
func dispatch_source_merge_data(_ source: dispatch_source_t, _ value: UInt)
OS X 10.6

Modified dispatch_source_set_cancel_handler(dispatch_source_t, dispatch_block_t!)
DeclarationIntroduction
From
func dispatch_source_set_cancel_handler(_ source: dispatch_source_t!, _ handler: dispatch_block_t!)
OS X 10.10
To
func dispatch_source_set_cancel_handler(_ source: dispatch_source_t, _ handler: dispatch_block_t!)
OS X 10.6

Modified dispatch_source_set_cancel_handler_f(dispatch_source_t, dispatch_function_t)
DeclarationIntroduction
From
func dispatch_source_set_cancel_handler_f(_ source: dispatch_source_t!, _ handler: dispatch_function_t)
OS X 10.10
To
func dispatch_source_set_cancel_handler_f(_ source: dispatch_source_t, _ handler: dispatch_function_t)
OS X 10.6

Modified dispatch_source_set_event_handler(dispatch_source_t, dispatch_block_t!)
DeclarationIntroduction
From
func dispatch_source_set_event_handler(_ source: dispatch_source_t!, _ handler: dispatch_block_t!)
OS X 10.10
To
func dispatch_source_set_event_handler(_ source: dispatch_source_t, _ handler: dispatch_block_t!)
OS X 10.6

Modified dispatch_source_set_event_handler_f(dispatch_source_t, dispatch_function_t)
DeclarationIntroduction
From
func dispatch_source_set_event_handler_f(_ source: dispatch_source_t!, _ handler: dispatch_function_t)
OS X 10.10
To
func dispatch_source_set_event_handler_f(_ source: dispatch_source_t, _ handler: dispatch_function_t)
OS X 10.6

Modified dispatch_source_set_registration_handler(dispatch_source_t, dispatch_block_t!)
DeclarationIntroduction
From
func dispatch_source_set_registration_handler(_ source: dispatch_source_t!, _ handler: dispatch_block_t!)
OS X 10.10
To
func dispatch_source_set_registration_handler(_ source: dispatch_source_t, _ handler: dispatch_block_t!)
OS X 10.7

Modified dispatch_source_set_registration_handler_f(dispatch_source_t, dispatch_function_t)
DeclarationIntroduction
From
func dispatch_source_set_registration_handler_f(_ source: dispatch_source_t!, _ handler: dispatch_function_t)
OS X 10.10
To
func dispatch_source_set_registration_handler_f(_ source: dispatch_source_t, _ handler: dispatch_function_t)
OS X 10.7

Modified dispatch_source_set_timer(dispatch_source_t, dispatch_time_t, UInt64, UInt64)
DeclarationIntroduction
From
func dispatch_source_set_timer(_ source: dispatch_source_t!, _ start: dispatch_time_t, _ interval: UInt64, _ leeway: UInt64)
OS X 10.10
To
func dispatch_source_set_timer(_ source: dispatch_source_t, _ start: dispatch_time_t, _ interval: UInt64, _ leeway: UInt64)
OS X 10.6

Modified dispatch_source_testcancel(dispatch_source_t) -> Int
DeclarationIntroduction
From
func dispatch_source_testcancel(_ source: dispatch_source_t!) -> Int
OS X 10.10
To
func dispatch_source_testcancel(_ source: dispatch_source_t) -> Int
OS X 10.6

Modified dispatch_suspend(dispatch_object_t)
DeclarationIntroduction
From
func dispatch_suspend(_ object: dispatch_object_t!)
OS X 10.10
To
func dispatch_suspend(_ object: dispatch_object_t)
OS X 10.6

Modified dispatch_sync(dispatch_queue_t, dispatch_block_t)
DeclarationIntroduction
From
func dispatch_sync(_ queue: dispatch_queue_t!, _ block: dispatch_block_t!)
OS X 10.10
To
func dispatch_sync(_ queue: dispatch_queue_t, _ block: dispatch_block_t)
OS X 10.6

Modified dispatch_sync_f(dispatch_queue_t, UnsafeMutablePointer<Void>, dispatch_function_t)
DeclarationIntroduction
From
func dispatch_sync_f(_ queue: dispatch_queue_t!, _ context: UnsafePointer<()>, _ work: dispatch_function_t)
OS X 10.10
To
func dispatch_sync_f(_ queue: dispatch_queue_t, _ context: UnsafeMutablePointer<Void>, _ work: dispatch_function_t)
OS X 10.6

Modified dispatch_time(dispatch_time_t, Int64) -> dispatch_time_t
Introduction
FromOS X 10.10
ToOS X 10.6

Modified dispatch_walltime(UnsafePointer<timespec>, Int64) -> dispatch_time_t
DeclarationIntroduction
From
func dispatch_walltime(_ when: ConstUnsafePointer<timespec>, _ delta: Int64) -> dispatch_time_t
OS X 10.10
To
func dispatch_walltime(_ when: UnsafePointer<timespec>, _ delta: Int64) -> dispatch_time_t
OS X 10.6

Modified dispatch_write(dispatch_fd_t, dispatch_data_t, dispatch_queue_t,(dispatch_data_t!, Int32) -> Void)
DeclarationIntroduction
From
func dispatch_write(_ fd: dispatch_fd_t, _ data: dispatch_data_t!, _ queue: dispatch_queue_t!, _ handler: ((dispatch_data_t!, Int32) -> Void)!)
OS X 10.10
To
func dispatch_write(_ fd: dispatch_fd_t, _ data: dispatch_data_t, _ queue: dispatch_queue_t, _ handler: (dispatch_data_t!, Int32) -> Void)
OS X 10.7