Contents

hogModePID

A pid_t indicating the process that currently owns exclusive access to the device or a value of -1 indicating that the device is currently available to all processes.

Declaration

var hogModePID: pid_t { get throws }

Discussion

If the device is in a non-mixable mode, the HAL will automatically take hog mode on behalf of the first process to start an IOProc.