Lines Matching defs:state
110 wxThreadPrivate() { thread_id = 0; state = STATE_IDLE; }
115 int state, thread_id;
135 p_internal->state = STATE_EXITED;
142 if (p_internal->state != STATE_IDLE)
144 p_internal->state = STATE_RUNNING;
146 p_internal->state = STATE_IDLE;
154 if (p_internal->state == STATE_RUNNING)
155 p_internal->state = STATE_CANCELED;
172 if (p_internal->state != STATE_IDLE) {
183 p_internal->state = STATE_IDLE;
196 if (p_internal->state == STATE_CANCELED) {
218 return (p_internal->state == STATE_RUNNING);
223 return (p_internal->state == STATE_RUNNING);