X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/eee3565979933af707c711411001ba11fe406a3c..813fb2f63a553c957e917ede5f119b021d6ce391:/iokit/Kernel/IOCommandGate.cpp diff --git a/iokit/Kernel/IOCommandGate.cpp b/iokit/Kernel/IOCommandGate.cpp index ae767744e..2308daf1b 100644 --- a/iokit/Kernel/IOCommandGate.cpp +++ b/iokit/Kernel/IOCommandGate.cpp @@ -189,7 +189,7 @@ IOReturn IOCommandGate::runAction(Action inAction, if (workLoop) { *sleepersP |= kSleepersWaitEnabled; - sleepResult = wl->sleepGate(&enabled, THREAD_ABORTSAFE); + sleepResult = wl->sleepGate(&enabled, THREAD_INTERRUPTIBLE); *sleepersP &= ~kSleepersWaitEnabled; } bool wakeupTearDown = (!workLoop || (0 != (*sleepersP & kSleepersRemoved)));