Searched refs:thread_array (Results 1 – 3 of 3) sorted by relevance
/Zephyr-Core-3.4.0/tests/subsys/portability/cmsis_rtos_v2/src/ |
D | thread_apis.c | 71 osThreadId_t *thread_array; in thread2() local 80 thread_array = k_calloc(max_num_threads, sizeof(osThreadId_t)); in thread2() 81 num_threads = osThreadEnumerate(thread_array, max_num_threads); in thread2() 86 uint32_t size = osThreadGetStackSize(thread_array[i]); in thread2() 87 uint32_t space = osThreadGetStackSpace(thread_array[i]); in thread2() 93 zassert_equal(osThreadGetState(thread_array[1]), osThreadReady, in thread2() 95 zassert_equal(osThreadGetState(thread_array[0]), osThreadRunning, in thread2() 98 zassert_equal(osThreadSuspend(thread_array[1]), osOK, ""); in thread2() 99 zassert_equal(osThreadGetState(thread_array[1]), osThreadBlocked, in thread2() 102 zassert_equal(osThreadResume(thread_array[1]), osOK, ""); in thread2() [all …]
|
/Zephyr-Core-3.4.0/subsys/portability/cmsis_rtos_v2/ |
D | thread.c | 568 uint32_t osThreadEnumerate(osThreadId_t *thread_array, uint32_t array_items) in osThreadEnumerate() argument 575 __ASSERT(thread_array != NULL, ""); in osThreadEnumerate() 585 thread_array[count] = tid; in osThreadEnumerate()
|
/Zephyr-Core-3.4.0/include/zephyr/portability/ |
D | cmsis_os2.h | 445 uint32_t osThreadEnumerate(osThreadId_t *thread_array, uint32_t array_items);
|