Dispatch Functions

No overview available.

Topics

Functions

dispatch_apply

Submits a block to a dispatch queue for multiple invocations.

dispatch_group_create

Creates a new group with which block objects can be associated.

dispatch_group_enter

Explicitly indicates that a block has entered the group.

dispatch_group_leave

Explicitly indicates that a block in the group has completed.

dispatch_io_create_with_path

Creates a dispatch I/O channel with the associated path name.

dispatch_io_get_descriptor

Returns the file descriptor associated with the specified channel.

dispatch_io_read

Schedules an asynchronous read operation on the specified channel.

dispatch_io_set_low_water

Sets the minimum number of bytes to process before enqueueing a handler block.

dispatch_read

Schedule an asynchronous read operation using the specified file descriptor.

dispatch_semaphore_create

Creates new counting semaphore with an initial value.

dispatch_suspend

Suspends the invocation of block objects on a dispatch object.

dispatch_sync

Submits a block object for execution on a dispatch queue and waits until that block completes.

dispatch_write

Schedule an asynchronous write operation using the specified file descriptor.

dispatch_queue_create

Creates a new dispatch queue to which blocks can be submitted.

dispatch_io_create

Creates a dispatch I/O channel and associates it with the specified file descriptor.

dispatch_io_create_with_io

Creates a new dispatch I/O channel from an existing channel.

dispatch_group_notify

Schedules a block object to be submitted to a queue when a group of previously submitted block objects have completed.

dispatch_resume

Resume the invocation of block objects on a dispatch object.

dispatch_io_set_high_water

Sets the maximum number of bytes to process before enqueueing a handler block.

dispatch_semaphore_signal

Signals, or increments, a semaphore.

dispatch_io_barrier

Schedules a barrier operation on the specified channel.

dispatch_io_write

Schedules an asynchronous write operation for the specified channel.