Home
last modified time | relevance | path

Searched refs:this_th_nbr (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.6.0/arch/posix/core/
Dposix_core.c84 static void posix_wait_until_allowed(int this_th_nbr);
92 static void abort_tail(int this_th_nbr) in abort_tail() argument
95 threads_table[this_th_nbr].thead_cnt, in abort_tail()
96 this_th_nbr, in abort_tail()
99 threads_table[this_th_nbr].running = false; in abort_tail()
100 threads_table[this_th_nbr].state = ABORTED; in abort_tail()
114 static void posix_wait_until_allowed(int this_th_nbr) in posix_wait_until_allowed() argument
116 threads_table[this_th_nbr].running = false; in posix_wait_until_allowed()
119 threads_table[this_th_nbr].thead_cnt, in posix_wait_until_allowed()
120 this_th_nbr, in posix_wait_until_allowed()
[all …]
Dposix_core_nsi.c35 void posix_swap(int next_allowed_thread_nbr, int this_th_nbr) in posix_swap() argument
37 (void) this_th_nbr; in posix_swap()
/Zephyr-Core-3.6.0/scripts/native_simulator/common/src/
Dnct.c133 static void abort_tail(struct te_status_t *this, int this_th_nbr) in abort_tail() argument
135 struct threads_table_el *tt_el = ttable_get_element(this, this_th_nbr); in abort_tail()
139 this_th_nbr, in abort_tail()
155 static void nct_wait_until_allowed(struct te_status_t *this, int this_th_nbr) in nct_wait_until_allowed() argument
157 struct threads_table_el *tt_el = ttable_get_element(this, this_th_nbr); in nct_wait_until_allowed()
163 this_th_nbr, in nct_wait_until_allowed()
166 while (this_th_nbr != this->currently_allowed_thread) { in nct_wait_until_allowed()
170 abort_tail(this, this_th_nbr); in nct_wait_until_allowed()
178 this_th_nbr, in nct_wait_until_allowed()
244 int this_th_nbr = this->currently_allowed_thread; in nct_swap_threads() local
[all …]
/Zephyr-Core-3.6.0/arch/posix/include/
Dposix_core.h45 void posix_swap(int next_allowed_thread_nbr, int this_th_nbr);