Lines Matching defs:state
186 thread_template.state = TH_WAIT | TH_UNINT;
417 thread->state |= TH_TERMINATE;
730 /* New threads inherit any default state on the task */
1103 int state, flags;
1160 state = 0;
1161 if (thread->state & TH_TERMINATE)
1162 state = TH_STATE_HALTED;
1164 if (thread->state & TH_RUN)
1165 state = TH_STATE_RUNNING;
1167 if (thread->state & TH_UNINT)
1168 state = TH_STATE_UNINTERRUPTIBLE;
1170 if (thread->state & TH_SUSP)
1171 state = TH_STATE_STOPPED;
1173 if (thread->state & TH_WAIT)
1174 state = TH_STATE_WAITING;
1176 basic_info->run_state = state;
1688 boolean_t state)
1691 thread->static_param = state;