Macro

DISPATCH_SOURCE_TYPE_MACH_SEND

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

Declaration

#define DISPATCH_SOURCE_TYPE_MACH_SEND

Discussion

A dispatch source that monitors a Mach port for dead name notifications (the send right no longer has any corresponding receive right). The handle is a Mach port with a send or send-once right (mach_port_t). The mask is a mask of desired events from Dispatch Source Mach Send 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_PROC

A type of dispatch source for monitoring a process.

DISPATCH_SOURCE_TYPE_MEMORYPRESSURE

A type of dispatch source for monitoring memory pressure events.

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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software