Lines Matching defs:state
301 volatile TimerState state; /*!< Timer state. */
324 if (thread->state == TIMERSTATE_SINGLE && numCallbacks > 0)
327 thread->state = TIMERSTATE_DISABLED;
330 else if (thread->state == TIMERSTATE_DISABLED)
355 static deTimerThread* deTimerThread_create (deTimerCallback callback, void* arg, int interval, TimerState state)
359 DE_ASSERT(state == TIMERSTATE_INTERVAL || state == TIMERSTATE_SINGLE);
368 thread->state = state;
408 isActive = timer->curThread->state != TIMERSTATE_LAST;
446 if (timer->curThread->state != TIMERSTATE_DISABLED)
448 /* Just set state to disabled and destroy thread handle. */
452 timer->curThread->state = TIMERSTATE_DISABLED;