Searched refs:z_thread (Results 1 – 4 of 4) sorted by relevance
91 if (&itr->z_thread == tid) { in get_cmsis_thread_id()199 (void)k_thread_create(&tid->z_thread, in osThreadNew()212 k_thread_name_set(&tid->z_thread, tid->name); in osThreadNew()233 name = k_thread_name_get(&tid->z_thread); in osThreadGetName()260 (_is_thread_cmsis_inactive(&tid->z_thread))) { in osThreadGetPriority()264 priority = k_thread_priority_get(&tid->z_thread); in osThreadGetPriority()284 if (_is_thread_cmsis_inactive(&tid->z_thread)) { in osThreadSetPriority()288 k_thread_priority_set((k_tid_t)&tid->z_thread, in osThreadSetPriority()307 switch (tid->z_thread.base.thread_state) { in osThreadGetState()360 return tid->z_thread.stack_info.size; in osThreadGetStackSize()[all …]
22 struct k_thread z_thread; member
140 my_tid = k_thread_create(&(*thread)->z_thread, stack_alloc, stack_size, in cy_rtos_create_thread()173 k_thread_abort((k_tid_t)&(thread)->z_thread); in cy_rtos_exit_thread()191 k_thread_abort((k_tid_t)&(*thread)->z_thread); in cy_rtos_terminate_thread()209 *running = (k_current_get() == &(*thread)->z_thread) ? true : false; in cy_rtos_is_thread_running()223 } else if (k_current_get() == &(*thread)->z_thread) { in cy_rtos_get_thread_state()226 if (((*thread)->z_thread.base.thread_state & _THREAD_DEAD) != 0) { in cy_rtos_get_thread_state()229 switch ((*thread)->z_thread.base.thread_state) { in cy_rtos_get_thread_state()267 status_internal = k_thread_join(&(*thread)->z_thread, K_FOREVER); in cy_rtos_join_thread()323 k_wakeup(&(*thread)->z_thread); in cy_rtos_thread_set_notification()
62 struct k_thread z_thread; member