Lines Matching refs:thread_res
146 int thread_res = THREAD_AWAKENED;
151 while (want_lock && thread_res == THREAD_AWAKENED)
154 thread_res = IOLockSleep(sleep_interlock, (void *) this, interruptible);
156 if (thread_res == THREAD_AWAKENED)
161 return thread_res;
166 int thread_res;
171 thread_res = lock();
172 if (thread_res != THREAD_AWAKENED)
196 thread_res = thread_block(THREAD_CONTINUE_NULL); /* block ourselves */
197 } while (thread_res == THREAD_AWAKENED);
199 return thread_res;