Home
last modified time | relevance | path

Searched refs:current_thread (Results 1 – 25 of 44) sorted by relevance

12

/ThreadX-v6.3.0/ports_smp/linux/gnu/src/
Dtx_thread_smp_protect.c84 TX_THREAD *current_thread; in _tx_thread_smp_protect() local
106 current_thread = _tx_thread_current_ptr[core]; in _tx_thread_smp_protect()
111 … ((!current_thread) || (current_thread -> tx_thread_linux_thread_id != current_thread_id))) in _tx_thread_smp_protect()
127 if ((current_thread) && (_tx_thread_preempt_disable == 0)) in _tx_thread_smp_protect()
131 current_state = current_thread -> tx_thread_state; in _tx_thread_smp_protect()
138 current_thread -> tx_thread_linux_deferred_preempt = TX_FALSE; in _tx_thread_smp_protect()
141 current_thread -> tx_thread_linux_suspension_type = 1; in _tx_thread_smp_protect()
147 current_thread -> tx_thread_time_slice = _tx_timer_time_slice[core]; in _tx_thread_smp_protect()
159 current_thread -> tx_thread_smp_core_control = 1; in _tx_thread_smp_protect()
177 if ((current_thread) && (current_thread -> tx_thread_linux_deferred_preempt)) in _tx_thread_smp_protect()
[all …]
Dtx_thread_context_restore.c85 TX_THREAD *current_thread; in _tx_thread_context_restore() local
98 current_thread = _tx_thread_current_ptr[0]; in _tx_thread_context_restore()
102 if ((!_tx_thread_system_state[0]) && (current_thread)) in _tx_thread_context_restore()
108 if ((_tx_thread_preempt_disable == 0) && (current_thread != _tx_thread_execute_ptr[0])) in _tx_thread_context_restore()
115 current_thread -> tx_thread_linux_suspension_type = 1; in _tx_thread_context_restore()
121 current_thread -> tx_thread_time_slice = _tx_timer_time_slice[0]; in _tx_thread_context_restore()
133 current_thread -> tx_thread_smp_core_control = 1; in _tx_thread_context_restore()
169 _tx_linux_thread_resume(current_thread -> tx_thread_linux_thread_id); in _tx_thread_context_restore()
Dtx_thread_smp_current_thread_get.c79 TX_THREAD *current_thread; in _tx_thread_smp_current_thread_get() local
108 current_thread = _tx_thread_current_ptr[core]; in _tx_thread_smp_current_thread_get()
114 return(current_thread); in _tx_thread_smp_current_thread_get()
Dtx_thread_schedule.c86 TX_THREAD *current_thread; in _tx_thread_schedule() local
114 current_thread = _tx_thread_current_ptr[core]; in _tx_thread_schedule()
117 if ((current_thread) && (current_thread -> tx_thread_linux_deferred_preempt)) in _tx_thread_schedule()
127 if (current_thread -> tx_thread_state != TX_TERMINATED) in _tx_thread_schedule()
132 _tx_linux_thread_suspend(current_thread -> tx_thread_linux_thread_id); in _tx_thread_schedule()
135 current_thread -> tx_thread_linux_deferred_preempt = TX_FALSE; in _tx_thread_schedule()
138 current_thread -> tx_thread_linux_suspension_type = 1; in _tx_thread_schedule()
144 current_thread -> tx_thread_time_slice = _tx_timer_time_slice[core]; in _tx_thread_schedule()
157 current_thread -> tx_thread_smp_core_control = 1; in _tx_thread_schedule()
/ThreadX-v6.3.0/common/src/
Dtxe_thread_relinquish.c75 TX_THREAD *current_thread; in _txe_thread_relinquish() local
79 TX_THREAD_GET_CURRENT(current_thread) in _txe_thread_relinquish()
82 if (current_thread != TX_NULL) in _txe_thread_relinquish()
Dtx_thread_system_preempt_check.c77 TX_THREAD *current_thread; in _tx_thread_system_preempt_check() local
91 TX_THREAD_GET_CURRENT(current_thread) in _tx_thread_system_preempt_check()
97 if (current_thread != thread_ptr) in _tx_thread_system_preempt_check()
Dtx_thread_time_slice_change.c83 TX_THREAD *current_thread; in _tx_thread_time_slice_change() local
103 TX_THREAD_GET_CURRENT(current_thread) in _tx_thread_time_slice_change()
106 if (thread_ptr == current_thread) in _tx_thread_time_slice_change()
Dtxe_thread_reset.c79 TX_THREAD *current_thread; in _txe_thread_reset() local
107 TX_THREAD_GET_CURRENT(current_thread) in _txe_thread_reset()
110 if (current_thread == &_tx_timer_thread) in _txe_thread_reset()
Dtxe_semaphore_get.c82 TX_THREAD *current_thread; in _txe_semaphore_get() local
125 TX_THREAD_GET_CURRENT(current_thread) in _txe_semaphore_get()
128 if (current_thread == &_tx_timer_thread) in _txe_semaphore_get()
Dtxe_block_allocate.c87 TX_THREAD *current_thread; in _txe_block_allocate() local
137 TX_THREAD_GET_CURRENT(current_thread) in _txe_block_allocate()
140 if (current_thread == &_tx_timer_thread) in _txe_block_allocate()
Dtxe_queue_front_send.c84 TX_THREAD *current_thread; in _txe_queue_front_send() local
135 TX_THREAD_GET_CURRENT(current_thread) in _txe_queue_front_send()
138 if (current_thread == &_tx_timer_thread) in _txe_queue_front_send()
Dtxe_queue_receive.c86 TX_THREAD *current_thread; in _txe_queue_receive() local
137 TX_THREAD_GET_CURRENT(current_thread) in _txe_queue_receive()
140 if (current_thread == &_tx_timer_thread) in _txe_queue_receive()
Dtxe_queue_send.c84 TX_THREAD *current_thread; in _txe_queue_send() local
135 TX_THREAD_GET_CURRENT(current_thread) in _txe_queue_send()
138 if (current_thread == &_tx_timer_thread) in _txe_queue_send()
Dtxe_mutex_get.c84 TX_THREAD *current_thread; in _txe_mutex_get() local
127 TX_THREAD_GET_CURRENT(current_thread) in _txe_mutex_get()
130 if (current_thread == &_tx_timer_thread) in _txe_mutex_get()
Dtx_thread_reset.c80 TX_THREAD *current_thread; in _tx_thread_reset() local
91 TX_THREAD_GET_CURRENT(current_thread) in _tx_thread_reset()
94 if (current_thread == thread_ptr) in _tx_thread_reset()
Dtxe_event_flags_get.c91 TX_THREAD *current_thread; in _txe_event_flags_get() local
141 TX_THREAD_GET_CURRENT(current_thread) in _txe_event_flags_get()
144 if (current_thread == &_tx_timer_thread) in _txe_event_flags_get()
/ThreadX-v6.3.0/common_smp/src/
Dtxe_thread_relinquish.c75 TX_THREAD *current_thread; in _txe_thread_relinquish() local
79 TX_THREAD_GET_CURRENT(current_thread) in _txe_thread_relinquish()
82 if (current_thread != TX_NULL) in _txe_thread_relinquish()
Dtxe_thread_reset.c79 TX_THREAD *current_thread; in _txe_thread_reset() local
107 TX_THREAD_GET_CURRENT(current_thread) in _txe_thread_reset()
110 if (current_thread == &_tx_timer_thread) in _txe_thread_reset()
Dtxe_semaphore_get.c82 TX_THREAD *current_thread; in _txe_semaphore_get() local
125 TX_THREAD_GET_CURRENT(current_thread) in _txe_semaphore_get()
128 if (current_thread == &_tx_timer_thread) in _txe_semaphore_get()
Dtxe_block_allocate.c87 TX_THREAD *current_thread; in _txe_block_allocate() local
137 TX_THREAD_GET_CURRENT(current_thread) in _txe_block_allocate()
140 if (current_thread == &_tx_timer_thread) in _txe_block_allocate()
Dtxe_queue_receive.c86 TX_THREAD *current_thread; in _txe_queue_receive() local
137 TX_THREAD_GET_CURRENT(current_thread) in _txe_queue_receive()
140 if (current_thread == &_tx_timer_thread) in _txe_queue_receive()
Dtxe_queue_front_send.c84 TX_THREAD *current_thread; in _txe_queue_front_send() local
135 TX_THREAD_GET_CURRENT(current_thread) in _txe_queue_front_send()
138 if (current_thread == &_tx_timer_thread) in _txe_queue_front_send()
Dtxe_queue_send.c84 TX_THREAD *current_thread; in _txe_queue_send() local
135 TX_THREAD_GET_CURRENT(current_thread) in _txe_queue_send()
138 if (current_thread == &_tx_timer_thread) in _txe_queue_send()
Dtxe_mutex_get.c84 TX_THREAD *current_thread; in _txe_mutex_get() local
127 TX_THREAD_GET_CURRENT(current_thread) in _txe_mutex_get()
130 if (current_thread == &_tx_timer_thread) in _txe_mutex_get()
/ThreadX-v6.3.0/utility/rtos_compatibility_layers/posix/
Dpx_sig_signal.c75 POSIX_TCB *current_thread; in signal() local
96 current_thread = (POSIX_TCB *) tx_thread_identify(); in signal()
99 current_thread -> signals.signal_func[signo] = func; in signal()

12