Contents

Create

Creates and configures a timer dispatch object.

Declaration

static kern_return_t Create(IODispatchQueue *queue, IOTimerDispatchSource **source);

Parameters

  • queue:

    The dispatch queue on which to run any handler blocks.

  • source:

    A variable for storing the dispatch source. On return, this variable contains the retained object. You are responsible for releasing this object.

Return Value

kIOReturnSuccess on success, or another value if an error occurs. See Error Codes.

See Also

Configuring the Timer Source