IOInterruptDispatchSource
A dispatch source that reports hardware-related interrupt events to your driver.
Declaration
class IOInterruptDispatchSource;Overview
An IOInterruptDispatchSource object executes an associated action in response to hardware-related interrupts. If your driver handles hardware interrupts, configure this dispatch source and use your action object to provide an appropriat response.
Interrupt-related actions execute at the normal thread level. The system records the time at which the interrupt fired using the mach_absolute_time function, and passes that time value to your action’s callback method. For PCI devices, DriverKit supports only MSI interrupt sources.