Searched refs:_THREAD_PENDING (Results 1 – 7 of 7) sorted by relevance
93 return (thread->base.thread_state & _THREAD_PENDING) != 0U; in z_is_thread_pending()100 return (state & (_THREAD_PENDING | _THREAD_SLEEPING | _THREAD_DEAD | in z_is_thread_prevented_from_running()141 thread->base.thread_state |= _THREAD_PENDING; in z_mark_thread_as_pending()146 thread->base.thread_state &= ~_THREAD_PENDING; in z_mark_thread_as_not_pending()
244 tid->base.thread_state = _THREAD_PENDING; in ZTEST()268 tid->base.thread_state = _THREAD_PENDING | _THREAD_SUSPENDED; in ZTEST()
55 #define _THREAD_PENDING (BIT(1)) macro
408 zassert_equal(tid->base.thread_state, _THREAD_PENDING); in ZTEST()450 zassert_equal(tid->base.thread_state, _THREAD_PENDING); in ZTEST()
118 while (do_sleep && !(src_thread->base.thread_state & _THREAD_PENDING)) { in wakeup_src_thread()
316 case _THREAD_PENDING: in osThreadGetState()
236 case _THREAD_PENDING: in cy_rtos_get_thread_state()