Lines Matching refs:TH_WAIT
402 if ((thread->state & TH_WAIT) != 0) {
421 if ((thread->state & TH_WAIT) != 0) {
481 thread->state &= ~(TH_WAIT|TH_UNINT);
551 if ((thread->state & (TH_WAIT|TH_TERMINATE)) == TH_WAIT) {
593 thread->state |= (interruptible) ? TH_WAIT : (TH_WAIT | TH_UNINT);
955 if ((thread->state & (TH_RUN|TH_WAIT|TH_SUSP)) == TH_SUSP) {
1339 if ((thread->state & (TH_IDLE|TH_TERMINATE|TH_SUSP)) || !(thread->state & TH_WAIT) || thread->wake_active)
1409 if (!(thread->state & TH_WAIT)) {
1717 if (!(thread->state & TH_WAIT)) {
2873 (thread == THREAD_NULL || ((thread->state & (TH_WAIT|TH_SUSP)) == TH_WAIT && !thread->wake_active))) {
3230 if ( !(thread->state & (TH_WAIT|TH_SUSP)) &&
3267 return ((thread->state & (TH_RUN|TH_WAIT)) == TH_RUN);