Macro

DISPATCH_SOURCE_TYPE_PROC

A type of dispatch source for monitoring a process.

Declaration

#define DISPATCH_SOURCE_TYPE_PROC

Discussion

A dispatch source that monitors an external process for events defined by Dispatch Source Process Event Flags. The handle is a process identifier (pid_t). The mask is a mask of desired events from Dispatch Source Process Event Flags.

See Also

Dispatch Source Types

DISPATCH_SOURCE_TYPE_TIMER

A type of dispatch source for monitoring a timer.

DISPATCH_SOURCE_TYPE_READ

A type of dispatch source for monitoring read operations on a file system object.

DISPATCH_SOURCE_TYPE_WRITE

A type of dispatch source for monitoring write operations on a file system object.

DISPATCH_SOURCE_TYPE_VNODE

A type of dispatch source for monitoring changes to a file system object.

DISPATCH_SOURCE_TYPE_SIGNAL

A type of dispatch source for monitoring signals.

DISPATCH_SOURCE_TYPE_MEMORYPRESSURE

A type of dispatch source for monitoring memory pressure events.

DISPATCH_SOURCE_TYPE_MACH_SEND

A type of dispatch source for monitoring a mach send port.

DISPATCH_SOURCE_TYPE_MACH_RECV

A type of dispatch source for monitoring a mach receive port.

DISPATCH_SOURCE_TYPE_DATA_ADD

A type of dispatch source for monitoring custom events involving the coalescing of data with an AND operator.

DISPATCH_SOURCE_TYPE_DATA_OR

A type of dispatch source for monitoring custom events involving the coalescing of data with an OR operator.