Home
last modified time | relevance | path

Searched refs:thread_idx (Results 1 – 10 of 10) sorted by relevance

/Zephyr-latest/arch/posix/core/
Dthread.c55 thread_status->thread_idx = posix_new_thread((void *)thread_status); in arch_new_thread()
72 thread_index = thread_status->thread_idx; in arch_thread_name_set()
122 int thread_idx; in z_impl_k_thread_abort() local
130 thread_idx = tstatus->thread_idx; in z_impl_k_thread_abort()
142 thread_idx); in z_impl_k_thread_abort()
144 posix_abort_thread(thread_idx); in z_impl_k_thread_abort()
152 posix_arch_get_unique_thread_id(thread_idx), in z_impl_k_thread_abort()
153 thread_idx); in z_impl_k_thread_abort()
156 posix_abort_thread(thread_idx); in z_impl_k_thread_abort()
161 posix_arch_get_unique_thread_id(thread_idx), in z_impl_k_thread_abort()
[all …]
Dposix_core_nsi.c51 void posix_abort_thread(int thread_idx) in posix_abort_thread() argument
53 nct_abort_thread(te_state, thread_idx); in posix_abort_thread()
56 int posix_arch_get_unique_thread_id(int thread_idx) in posix_arch_get_unique_thread_id() argument
58 return nct_get_unique_thread_id(te_state, thread_idx); in posix_arch_get_unique_thread_id()
61 int posix_arch_thread_name_set(int thread_idx, const char *str) in posix_arch_thread_name_set() argument
63 return nct_thread_name_set(te_state, thread_idx, str); in posix_arch_thread_name_set()
Dswap.c64 posix_swap(ready_thread_ptr->thread_idx, in arch_swap()
65 this_thread_ptr->thread_idx); in arch_swap()
103 posix_main_thread_start(ready_thread_ptr->thread_idx); in arch_switch_to_main_thread()
/Zephyr-latest/arch/posix/include/
Dposix_core.h22 int thread_idx; member
48 void posix_abort_thread(int thread_idx);
49 int posix_arch_get_unique_thread_id(int thread_idx);
50 int posix_arch_thread_name_set(int thread_idx, const char *str);
/Zephyr-latest/scripts/native_simulator/common/src/
Dnct.c97 int thread_idx; /* Index of this element in the threads_table*/ member
310 element->thread_idx, in nct_cleanup_handler()
330 int thread_idx = tt_el->thread_idx; in nct_thread_starter() local
334 thread_idx, in nct_thread_starter()
357 thread_idx, in nct_thread_starter()
364 nct_wait_until_allowed(this, thread_idx); in nct_thread_starter()
375 thread_idx, in nct_thread_starter()
474 tt_el->thread_idx = t_slot; in nct_new_thread()
607 void nct_abort_thread(void *this_arg, int thread_idx) in nct_abort_thread() argument
610 struct threads_table_el *tt_el = ttable_get_element(this, thread_idx); in nct_abort_thread()
[all …]
/Zephyr-latest/scripts/native_simulator/common/src/include/
Dnct_if.h26 void nct_abort_thread(void *this, int thread_idx);
27 int nct_get_unique_thread_id(void *this, int thread_idx);
28 int nct_thread_name_set(void *this, int thread_idx, const char *str);
/Zephyr-latest/tests/kernel/sched/schedule_api/src/
Dtest_sched_timeslice_reset.c37 static int thread_idx; variable
57 if (thread_idx == 0) { in thread_time_slice()
85 thread_idx, t, expected_slice_min, expected_slice_max); in thread_time_slice()
92 thread_idx = (thread_idx + 1) % NUM_THREAD; in thread_time_slice()
134 thread_idx = 0; in ZTEST()
Dtest_priority_scheduling.c30 static int thread_idx; variable
46 zassert_true((idx == thread_idx)); in thread_tslice()
47 thread_idx = (thread_idx + 1) % (NUM_THREAD); in thread_tslice()
Dtest_slice_scheduling.c37 static int thread_idx; variable
66 (idx == thread_idx)), NULL); in thread_tslice()
67 thread_idx = (thread_idx + 1) % (NUM_THREAD); in thread_tslice()
96 thread_idx = 0; in ZTEST()
/Zephyr-latest/subsys/mgmt/mcumgr/grp/os_mgmt/src/
Dos_mgmt.c79 int thread_idx; member
306 iterator_ctx->thread_idx, thread) && in os_mgmt_taskstat_encode_one()
310 zcbor_uint32_put(iterator_ctx->zse, iterator_ctx->thread_idx) && in os_mgmt_taskstat_encode_one()
318 ++iterator_ctx->thread_idx; in os_mgmt_taskstat_encode_one()
330 .thread_idx = 0, in os_mgmt_taskstat_read()