]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/Kernel/IOSyncer.cpp
xnu-344.tar.gz
[apple/xnu.git] / iokit / Kernel / IOSyncer.cpp
index 815cc3b1f63868a3bd80fc91b77a17cc200c7c5e..92e1d07412dbaa25bc11daf98d63049d54ca1f1a 100644 (file)
@@ -83,7 +83,7 @@ IOReturn IOSyncer::wait(bool autoRelease = true)
     if (threadMustStop) {
        assert_wait((void *) &threadMustStop, false);
        IOSimpleLockUnlockEnableInterrupt(guardLock, is);
-        thread_block(0);
+        thread_block(THREAD_CONTINUE_NULL);
     }
     else
         IOSimpleLockUnlockEnableInterrupt(guardLock, is);