Contents

dispatch_source_get_handle

Returns the underlying system handle associated with the specified dispatch source.

Declaration

extern uintptr_t dispatch_source_get_handle(dispatch_source_t source);

Parameters

  • source:

    This parameter cannot be NULL.

Return Value

The return value should be interpreted according to the type of the dispatch source, and can be one of the following:

Discussion

The handle returned is a reference to the underlying system object being monitored by the dispatch source.

See Also

Getting Dispatch Source Attributes