Home
last modified time | relevance | path

Searched refs:dummy_thread (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/kernel/include/
Dkswap.h238 static inline void z_dummy_thread_init(struct k_thread *dummy_thread) in z_dummy_thread_init() argument
240 dummy_thread->base.thread_state = _THREAD_DUMMY; in z_dummy_thread_init()
242 dummy_thread->base.cpu_mask = -1; in z_dummy_thread_init()
244 dummy_thread->base.user_options = K_ESSENTIAL; in z_dummy_thread_init()
246 dummy_thread->stack_info.start = 0U; in z_dummy_thread_init()
247 dummy_thread->stack_info.size = 0U; in z_dummy_thread_init()
250 dummy_thread->mem_domain_info.mem_domain = &k_mem_domain_default; in z_dummy_thread_init()
253 k_thread_system_pool_assign(dummy_thread); in z_dummy_thread_init()
255 dummy_thread->resource_pool = NULL; in z_dummy_thread_init()
259 dummy_thread->base.slice_ticks = 0; in z_dummy_thread_init()
[all …]
/Zephyr-latest/tests/benchmarks/wait_queues/src/
Dmain.c31 static struct _thread_base dummy_thread[CONFIG_BENCHMARK_NUM_THREADS]; variable
48 z_init_thread_base(&dummy_thread[i], i / bucket_size, in dummy_threads_init()
78 z_pend_thread((struct k_thread *)&dummy_thread[i], in test_decreasing_priority()
89 z_unpend_thread((struct k_thread *)&dummy_thread[i]); in test_decreasing_priority()
108 &dummy_thread[num_threads - i - 1]; in test_increasing_priority()
120 &dummy_thread[num_threads - i - 1]; in test_increasing_priority()
255 dummy_thread[i].prio); in main()
272 tag, dummy_thread[i].prio); in main()
293 &dummy_thread[CONFIG_BENCHMARK_NUM_THREADS - i - 1]; in main()
312 &dummy_thread[CONFIG_BENCHMARK_NUM_THREADS - i - 1]; in main()