Lines Matching defs:waitResult
1711 int waitResult = THREAD_AWAKENED;
1768 waitResult = thread_block(THREAD_CONTINUE_NULL);
1772 } while( wait && (waitResult != THREAD_TIMED_OUT));
1840 int waitResult = THREAD_AWAKENED;
1874 waitResult = IOLockSleepDeadline( gJobsLock, &gIOTerminateWork,
1876 if( waitResult == THREAD_TIMED_OUT) {
1880 } while(gIOTerminateWork || (wait && (waitResult != THREAD_TIMED_OUT)));
1902 void IOService::terminateThread( void * arg, wait_result_t waitResult )
3298 int waitResult = THREAD_AWAKENED;
3324 waitResult = thread_block(THREAD_CONTINUE_NULL);
3326 } while( wait && (waitResult != THREAD_TIMED_OUT));
3328 if( waitResult == THREAD_TIMED_OUT)
3446 int waitResult = THREAD_AWAKENED;
3460 waitResult = IOLockSleepDeadline( gJobsLock, &gNumConfigThreads,
3463 waitResult = IOLockSleep( gJobsLock, &gNumConfigThreads,
3467 } while( wait && (waitResult != THREAD_TIMED_OUT));
3470 if( waitResult == THREAD_TIMED_OUT)