Class

IODispatchQueue

No overview available.

Declaration

class IODispatchQueue : OSObject, IODispatchQueueInterface

Topics

Instance Methods

- Cancel

Stops the queue from dequeueing any further tasks, and notifies the specified handler when all in-flight tasks finish.

- DispatchAsync

Schedule a block for asynchronous execution on the current queue.

- DispatchAsync_f

Schedule a C-style function for asynchrous execution on the current queue.

- DispatchSync

Schedule a block for synchronous execution on the current queue.

- DispatchSync_f

Schedule a C-style function for synchronous execution on the current queue.

- GetName

Returns the name of the queue as a C string.

- OnQueue

Returns a Boolean value that indicates whether the current thread matches the dispatch queue's thread.

- free

Performs any final cleanup for the dispatch queue object.

- init

Initializes the dispatch queue object.

Type Methods

+ Create

Creates a new dispatch queue object.

+ Log

Log the current execution context with respect to any queues the current thread holds.

Relationships