OSObject::free();
}
-IOReturn IOSyncer::wait(bool autoRelease = true)
+IOReturn IOSyncer::wait(bool autoRelease)
{
IOInterruptState is = IOSimpleLockLockDisableInterrupt(guardLock);
if (threadMustStop) {
assert_wait((void *) &threadMustStop, false);
IOSimpleLockUnlockEnableInterrupt(guardLock, is);
- thread_block(0);
+ thread_block(THREAD_CONTINUE_NULL);
}
else
IOSimpleLockUnlockEnableInterrupt(guardLock, is);
return result;
}
-void IOSyncer::signal(IOReturn res = kIOReturnSuccess,
- bool autoRelease = true)
+void IOSyncer::signal(IOReturn res, bool autoRelease)
{
fResult = res;
privateSignal();