Lines Matching refs:waitResult
1729 int waitResult = THREAD_AWAKENED;
1763 waitResult = IOLockSleepDeadline( gJobsLock, &gIOTerminateWork,
1765 if( waitResult == THREAD_TIMED_OUT) {
1769 } while(gIOTerminateWork || (wait && (waitResult != THREAD_TIMED_OUT)));
3041 int waitResult = THREAD_AWAKENED;
3073 waitResult = thread_block(THREAD_CONTINUE_NULL);
3075 } while( wait && (waitResult != THREAD_TIMED_OUT));
3077 if( waitResult == THREAD_TIMED_OUT)
3178 int waitResult = THREAD_AWAKENED;
3194 waitResult = IOLockSleepDeadline( gJobsLock, &gNumConfigThreads,
3197 waitResult = IOLockSleep( gJobsLock, &gNumConfigThreads,
3201 } while( wait && (waitResult != THREAD_TIMED_OUT));
3204 if( waitResult == THREAD_TIMED_OUT)