dispatch_source_type_t
An identifier for the type of system object being monitored by a dispatch source.
Declaration
typedef const struct dispatch_source_type_s * dispatch_source_type_t;Discussion
Constants of this type represent the class of low-level system object that is being monitored by the dispatch source. Constants of this type are passed as a parameter to dispatch_source_create and determine how the handle argument is interpreted (as a file descriptor, mach port, signal number, process identifier, etc.) and how the mask argument is interpreted.
Topics
Dispatch Source Types
DISPATCH_SOURCE_TYPE_TIMERDISPATCH_SOURCE_TYPE_READDISPATCH_SOURCE_TYPE_WRITEDISPATCH_SOURCE_TYPE_VNODEDISPATCH_SOURCE_TYPE_SIGNALDISPATCH_SOURCE_TYPE_PROCDISPATCH_SOURCE_TYPE_MEMORYPRESSUREDISPATCH_SOURCE_TYPE_MACH_SENDDISPATCH_SOURCE_TYPE_MACH_RECVDISPATCH_SOURCE_TYPE_DATA_ADDDISPATCH_SOURCE_TYPE_DATA_OR