int IOWorkLoop::sleepGate(void *event, UInt32 interuptibleType) { int res; IOStatisticsOpenGate(); res = IORecursiveLockSleep(gateLock, event, interuptibleType); IOStatisticsCloseGate(); return res; }
int IOWorkLoop::sleepGate(void *event, UInt32 interuptibleType) { return IORecursiveLockSleep(gateLock, event, interuptibleType); }