TS_WAIT
case TS_WAIT: state = SWAIT; c = 'W'; break;
case TS_WAIT:
{ "TS_WAIT", TS_WAIT, TS_WAIT },
{ TS_WAIT, "wait" }
if (t->t_state != TS_RUN && t->t_state != TS_WAIT) {
t->t_state == TS_WAIT)
(t->t_state & (TS_ZOMB|TS_FREE|TS_STOPPED|TS_ONPROC|TS_WAIT)) ||
t->t_state == TS_WAIT)
t->t_state == TS_WAIT)
t->t_state == TS_WAIT)
t->t_state == TS_WAIT)
} else if (t->t_state == TS_WAIT) {
if ((state & (TS_SLEEP | TS_RUN | TS_WAIT)) == 0) {
} else if (state == TS_WAIT) {
if ((state & (TS_SLEEP | TS_RUN | TS_WAIT)) == 0) {
} else if (state == TS_WAIT) {
TS_ONPROC | TS_WAIT)) ||
if (tx->t_state != TS_RUN && tx->t_state != TS_WAIT &&
case TS_WAIT:
case TS_WAIT: state = SWAIT; c = 'W'; break;
case TS_WAIT: state = SWAIT; c = 'W'; break;
case TS_WAIT:
#define ISWAITING(t) ((t)->t_state == TS_WAIT)
#define THREAD_WAIT(tp, lp) THREAD_SET_STATE(tp, TS_WAIT, lp)