A type of dispatch source for monitoring a process.
- iOS 4.0+
- macOS 10.6+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
A dispatch source that monitors an external process for events defined by Dispatch Source Process Event Flags. The handle is a process identifier (
pid). The mask is a mask of desired events from Dispatch Source Process Event Flags.