Dispatch iOS 13.6 to 14.0 API Differences

block.h
Declaration
Fromlong dispatch_block_wait(dispatch_block_t block, dispatch_time_t timeout)
Tointptr_t dispatch_block_wait(dispatch_block_t block, dispatch_time_t timeout)

Declaration
Fromlong dispatch_block_testcancel(dispatch_block_t block)
Tointptr_t dispatch_block_testcancel(dispatch_block_t block)

group.h
Declaration
Fromlong dispatch_group_wait(dispatch_group_t group, dispatch_time_t timeout)
Tointptr_t dispatch_group_wait(dispatch_group_t group, dispatch_time_t timeout)

queue.h
Declaration
Fromdispatch_queue_global_t dispatch_get_global_queue(long identifier, unsigned long flags)
Todispatch_queue_global_t dispatch_get_global_queue(intptr_t identifier, uintptr_t flags)

semaphore.h
Declaration
Fromdispatch_semaphore_t dispatch_semaphore_create(long value)
Todispatch_semaphore_t dispatch_semaphore_create(intptr_t value)

Declaration
Fromlong dispatch_semaphore_wait(dispatch_semaphore_t dsema, dispatch_time_t timeout)
Tointptr_t dispatch_semaphore_wait(dispatch_semaphore_t dsema, dispatch_time_t timeout)

Declaration
Fromlong dispatch_semaphore_signal(dispatch_semaphore_t dsema)
Tointptr_t dispatch_semaphore_signal(dispatch_semaphore_t dsema)

source.h
Declaration
Fromdispatch_source_t dispatch_source_create(dispatch_source_type_t type, uintptr_t handle, unsigned long mask, dispatch_queue_t queue)
Todispatch_source_t dispatch_source_create(dispatch_source_type_t type, uintptr_t handle, uintptr_t mask, dispatch_queue_t queue)

Declaration
Fromlong dispatch_source_testcancel(dispatch_source_t source)
Tointptr_t dispatch_source_testcancel(dispatch_source_t source)

Declaration
Fromunsigned long dispatch_source_get_mask(dispatch_source_t source)
Touintptr_t dispatch_source_get_mask(dispatch_source_t source)

Declaration
Fromunsigned long dispatch_source_get_data(dispatch_source_t source)
Touintptr_t dispatch_source_get_data(dispatch_source_t source)

Declaration
Fromvoid dispatch_source_merge_data(dispatch_source_t source, unsigned long value)
Tovoid dispatch_source_merge_data(dispatch_source_t source, uintptr_t value)

workgroup_interval.h
Added #def OS_WORKGROUP_INTERVAL_DATA_INITIALIZER
workgroup_object.h
Added #def OS_WORKGROUP_ATTR_INITIALIZER_DEFAULT
workloop.h