Home
last modified time | relevance | path

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

12

/ThreadX-v6.4.1/ports_smp/linux/gnu/src/
Dtx_thread_smp_protect.c83 TX_THREAD *current_thread; in _tx_thread_smp_protect() local
105 current_thread = _tx_thread_current_ptr[core]; in _tx_thread_smp_protect()
110 … ((!current_thread) || (current_thread -> tx_thread_linux_thread_id != current_thread_id))) in _tx_thread_smp_protect()
126 if ((current_thread) && (_tx_thread_preempt_disable == 0)) in _tx_thread_smp_protect()
130 current_state = current_thread -> tx_thread_state; in _tx_thread_smp_protect()
137 current_thread -> tx_thread_linux_deferred_preempt = TX_FALSE; in _tx_thread_smp_protect()
140 current_thread -> tx_thread_linux_suspension_type = 1; in _tx_thread_smp_protect()
146 current_thread -> tx_thread_time_slice = _tx_timer_time_slice[core]; in _tx_thread_smp_protect()
158 current_thread -> tx_thread_smp_core_control = 1; in _tx_thread_smp_protect()
176 if ((current_thread) && (current_thread -> tx_thread_linux_deferred_preempt)) in _tx_thread_smp_protect()
[all …]
Dtx_thread_context_restore.c84 TX_THREAD *current_thread; in _tx_thread_context_restore() local
97 current_thread = _tx_thread_current_ptr[0]; in _tx_thread_context_restore()
101 if ((!_tx_thread_system_state[0]) && (current_thread)) in _tx_thread_context_restore()
107 if ((_tx_thread_preempt_disable == 0) && (current_thread != _tx_thread_execute_ptr[0])) in _tx_thread_context_restore()
114 current_thread -> tx_thread_linux_suspension_type = 1; in _tx_thread_context_restore()
120 current_thread -> tx_thread_time_slice = _tx_timer_time_slice[0]; in _tx_thread_context_restore()
132 current_thread -> tx_thread_smp_core_control = 1; in _tx_thread_context_restore()
168 _tx_linux_thread_resume(current_thread -> tx_thread_linux_thread_id); in _tx_thread_context_restore()
Dtx_thread_smp_current_thread_get.c78 TX_THREAD *current_thread; in _tx_thread_smp_current_thread_get() local
107 current_thread = _tx_thread_current_ptr[core]; in _tx_thread_smp_current_thread_get()
113 return(current_thread); in _tx_thread_smp_current_thread_get()
Dtx_thread_schedule.c85 TX_THREAD *current_thread; in _tx_thread_schedule() local
113 current_thread = _tx_thread_current_ptr[core]; in _tx_thread_schedule()
116 if ((current_thread) && (current_thread -> tx_thread_linux_deferred_preempt)) in _tx_thread_schedule()
126 if (current_thread -> tx_thread_state != TX_TERMINATED) in _tx_thread_schedule()
131 _tx_linux_thread_suspend(current_thread -> tx_thread_linux_thread_id); in _tx_thread_schedule()
134 current_thread -> tx_thread_linux_deferred_preempt = TX_FALSE; in _tx_thread_schedule()
137 current_thread -> tx_thread_linux_suspension_type = 1; in _tx_thread_schedule()
143 current_thread -> tx_thread_time_slice = _tx_timer_time_slice[core]; in _tx_thread_schedule()
156 current_thread -> tx_thread_smp_core_control = 1; in _tx_thread_schedule()
/ThreadX-v6.4.1/common/src/
Dtxe_thread_relinquish.c74 TX_THREAD *current_thread; in _txe_thread_relinquish() local
78 TX_THREAD_GET_CURRENT(current_thread) in _txe_thread_relinquish()
81 if (current_thread != TX_NULL) in _txe_thread_relinquish()
Dtx_thread_system_preempt_check.c76 TX_THREAD *current_thread; in _tx_thread_system_preempt_check() local
90 TX_THREAD_GET_CURRENT(current_thread) in _tx_thread_system_preempt_check()
96 if (current_thread != thread_ptr) in _tx_thread_system_preempt_check()
Dtx_thread_time_slice_change.c82 TX_THREAD *current_thread; in _tx_thread_time_slice_change() local
102 TX_THREAD_GET_CURRENT(current_thread) in _tx_thread_time_slice_change()
105 if (thread_ptr == current_thread) in _tx_thread_time_slice_change()
Dtxe_thread_reset.c78 TX_THREAD *current_thread; in _txe_thread_reset() local
106 TX_THREAD_GET_CURRENT(current_thread) in _txe_thread_reset()
109 if (current_thread == &_tx_timer_thread) in _txe_thread_reset()
Dtxe_semaphore_get.c81 TX_THREAD *current_thread; in _txe_semaphore_get() local
124 TX_THREAD_GET_CURRENT(current_thread) in _txe_semaphore_get()
127 if (current_thread == &_tx_timer_thread) in _txe_semaphore_get()
Dtxe_block_allocate.c86 TX_THREAD *current_thread; in _txe_block_allocate() local
136 TX_THREAD_GET_CURRENT(current_thread) in _txe_block_allocate()
139 if (current_thread == &_tx_timer_thread) in _txe_block_allocate()
Dtxe_queue_front_send.c83 TX_THREAD *current_thread; in _txe_queue_front_send() local
134 TX_THREAD_GET_CURRENT(current_thread) in _txe_queue_front_send()
137 if (current_thread == &_tx_timer_thread) in _txe_queue_front_send()
Dtxe_queue_receive.c85 TX_THREAD *current_thread; in _txe_queue_receive() local
136 TX_THREAD_GET_CURRENT(current_thread) in _txe_queue_receive()
139 if (current_thread == &_tx_timer_thread) in _txe_queue_receive()
Dtxe_queue_send.c83 TX_THREAD *current_thread; in _txe_queue_send() local
134 TX_THREAD_GET_CURRENT(current_thread) in _txe_queue_send()
137 if (current_thread == &_tx_timer_thread) in _txe_queue_send()
Dtxe_mutex_get.c83 TX_THREAD *current_thread; in _txe_mutex_get() local
126 TX_THREAD_GET_CURRENT(current_thread) in _txe_mutex_get()
129 if (current_thread == &_tx_timer_thread) in _txe_mutex_get()
Dtx_thread_reset.c79 TX_THREAD *current_thread; in _tx_thread_reset() local
90 TX_THREAD_GET_CURRENT(current_thread) in _tx_thread_reset()
93 if (current_thread == thread_ptr) in _tx_thread_reset()
Dtxe_event_flags_get.c90 TX_THREAD *current_thread; in _txe_event_flags_get() local
140 TX_THREAD_GET_CURRENT(current_thread) in _txe_event_flags_get()
143 if (current_thread == &_tx_timer_thread) in _txe_event_flags_get()
/ThreadX-v6.4.1/common_smp/src/
Dtxe_thread_relinquish.c74 TX_THREAD *current_thread; in _txe_thread_relinquish() local
78 TX_THREAD_GET_CURRENT(current_thread) in _txe_thread_relinquish()
81 if (current_thread != TX_NULL) in _txe_thread_relinquish()
Dtxe_thread_reset.c78 TX_THREAD *current_thread; in _txe_thread_reset() local
106 TX_THREAD_GET_CURRENT(current_thread) in _txe_thread_reset()
109 if (current_thread == &_tx_timer_thread) in _txe_thread_reset()
Dtxe_semaphore_get.c81 TX_THREAD *current_thread; in _txe_semaphore_get() local
124 TX_THREAD_GET_CURRENT(current_thread) in _txe_semaphore_get()
127 if (current_thread == &_tx_timer_thread) in _txe_semaphore_get()
Dtxe_block_allocate.c86 TX_THREAD *current_thread; in _txe_block_allocate() local
136 TX_THREAD_GET_CURRENT(current_thread) in _txe_block_allocate()
139 if (current_thread == &_tx_timer_thread) in _txe_block_allocate()
Dtxe_queue_front_send.c83 TX_THREAD *current_thread; in _txe_queue_front_send() local
134 TX_THREAD_GET_CURRENT(current_thread) in _txe_queue_front_send()
137 if (current_thread == &_tx_timer_thread) in _txe_queue_front_send()
Dtxe_queue_receive.c85 TX_THREAD *current_thread; in _txe_queue_receive() local
136 TX_THREAD_GET_CURRENT(current_thread) in _txe_queue_receive()
139 if (current_thread == &_tx_timer_thread) in _txe_queue_receive()
Dtxe_queue_send.c83 TX_THREAD *current_thread; in _txe_queue_send() local
134 TX_THREAD_GET_CURRENT(current_thread) in _txe_queue_send()
137 if (current_thread == &_tx_timer_thread) in _txe_queue_send()
Dtxe_mutex_get.c83 TX_THREAD *current_thread; in _txe_mutex_get() local
126 TX_THREAD_GET_CURRENT(current_thread) in _txe_mutex_get()
129 if (current_thread == &_tx_timer_thread) in _txe_mutex_get()
/ThreadX-v6.4.1/utility/rtos_compatibility_layers/posix/
Dpx_sig_signal.c74 POSIX_TCB *current_thread; in signal() local
95 current_thread = (POSIX_TCB *) tx_thread_identify(); in signal()
98 current_thread -> signals.signal_func[signo] = func; in signal()

12