Lines Matching refs:TH_WAIT
811 if ((thread->state & TH_WAIT) != 0) {
830 if ((thread->state & TH_WAIT) != 0) {
893 thread->state &= ~(TH_WAIT|TH_UNINT);
1009 if ((thread->state & (TH_WAIT|TH_TERMINATE)) == TH_WAIT) {
1057 thread->state |= (interruptible) ? TH_WAIT : (TH_WAIT | TH_UNINT);
1381 if ((thread->state & (TH_RUN|TH_WAIT|TH_SUSP)) == TH_SUSP) {
1823 if ((thread->state & (TH_IDLE|TH_TERMINATE|TH_SUSP)) || !(thread->state & TH_WAIT) || thread->wake_active || thread->sched_pri >= BASEPRI_RTQUEUES)
1929 if (!(thread->state & TH_WAIT)) {
2397 if (!(thread->state & TH_WAIT)) {
4090 (thread == THREAD_NULL || ((thread->state & (TH_WAIT|TH_SUSP)) == TH_WAIT && !thread->wake_active))) {
4429 if ( !(thread->state & (TH_WAIT)) ) {
4562 return ((thread->state & (TH_RUN|TH_WAIT)) == TH_RUN);