Home
last modified time | relevance | path

Searched refs:_tx_thread_current_ptr (Results 1 – 25 of 1179) sorted by relevance

12345678910>>...48

/ThreadX-v6.3.0/ports/win32/vs_2019/src/
Dtx_thread_context_restore.c92 if ((!_tx_thread_system_state) && (_tx_thread_current_ptr)) in _tx_thread_context_restore()
98 if ((_tx_thread_preempt_disable == 0) && (_tx_thread_current_ptr != _tx_thread_execute_ptr)) in _tx_thread_context_restore()
105 _tx_thread_current_ptr -> tx_thread_win32_suspension_type = 1; in _tx_thread_context_restore()
111 _tx_thread_current_ptr -> tx_thread_time_slice = _tx_timer_time_slice; in _tx_thread_context_restore()
116 _tx_thread_current_ptr = TX_NULL; in _tx_thread_context_restore()
125 ResumeThread(_tx_thread_current_ptr -> tx_thread_win32_thread_handle); in _tx_thread_context_restore()
Dtx_thread_schedule.c120 _tx_thread_current_ptr = _tx_thread_execute_ptr; in _tx_thread_schedule()
123 _tx_thread_current_ptr -> tx_thread_run_count++; in _tx_thread_schedule()
126 _tx_timer_time_slice = _tx_thread_current_ptr -> tx_thread_time_slice; in _tx_thread_schedule()
129 if (_tx_thread_current_ptr -> tx_thread_win32_suspension_type) in _tx_thread_schedule()
137 ResumeThread(_tx_thread_current_ptr -> tx_thread_win32_thread_handle); in _tx_thread_schedule()
146 … ReleaseSemaphore(_tx_thread_current_ptr -> tx_thread_win32_thread_run_semaphore, 1, NULL); in _tx_thread_schedule()
180 thread_ptr = _tx_thread_current_ptr; in _tx_win32_critical_section_obtain()
Dtx_thread_system_return.c112 temp_thread_ptr = _tx_thread_current_ptr; in _tx_thread_system_return()
149 _tx_thread_current_ptr = TX_NULL; in _tx_thread_system_return()
183 temp_thread_ptr = _tx_thread_current_ptr; in _tx_thread_system_return()
205 if (!_tx_thread_current_ptr -> tx_thread_win32_int_disabled_flag) in _tx_thread_system_return()
/ThreadX-v6.3.0/ports/linux/gnu/src/
Dtx_thread_context_restore.c96 if ((!_tx_thread_system_state) && (_tx_thread_current_ptr)) in _tx_thread_context_restore()
102 if ((_tx_thread_preempt_disable == 0) && (_tx_thread_current_ptr != _tx_thread_execute_ptr)) in _tx_thread_context_restore()
109 _tx_thread_current_ptr -> tx_thread_linux_suspension_type = 1; in _tx_thread_context_restore()
115 _tx_thread_current_ptr -> tx_thread_time_slice = _tx_timer_time_slice; in _tx_thread_context_restore()
120 _tx_thread_current_ptr = TX_NULL; in _tx_thread_context_restore()
156 _tx_linux_thread_resume(_tx_thread_current_ptr -> tx_thread_linux_thread_id); in _tx_thread_context_restore()
Dtx_thread_context_save.c87 if ((_tx_thread_current_ptr) && (_tx_thread_system_state == 0)) in _tx_thread_context_save()
95 _tx_linux_thread_suspend(_tx_thread_current_ptr -> tx_thread_linux_thread_id); in _tx_thread_context_save()
98 _tx_thread_current_ptr -> tx_thread_linux_suspension_type = 1; in _tx_thread_context_save()
Dtx_thread_schedule.c141 _tx_thread_current_ptr = _tx_thread_execute_ptr; in _tx_thread_schedule()
144 _tx_thread_current_ptr -> tx_thread_run_count++; in _tx_thread_schedule()
147 _tx_timer_time_slice = _tx_thread_current_ptr -> tx_thread_time_slice; in _tx_thread_schedule()
150 if (_tx_thread_current_ptr -> tx_thread_linux_suspension_type) in _tx_thread_schedule()
158 _tx_linux_thread_resume(_tx_thread_current_ptr -> tx_thread_linux_thread_id); in _tx_thread_schedule()
167 while(!sem_trywait(&_tx_thread_current_ptr -> tx_thread_linux_thread_run_semaphore)); in _tx_thread_schedule()
170 tx_linux_sem_post(&_tx_thread_current_ptr -> tx_thread_linux_thread_run_semaphore); in _tx_thread_schedule()
Dtx_thread_system_return.c106 temp_thread_ptr = _tx_thread_current_ptr; in _tx_thread_system_return()
140 _tx_thread_current_ptr = TX_NULL; in _tx_thread_system_return()
178 temp_thread_ptr = _tx_thread_current_ptr; in _tx_thread_system_return()
197 if (!_tx_thread_current_ptr -> tx_thread_linux_int_disabled_flag) in _tx_thread_system_return()
Dtx_thread_interrupt_control.c109 thread_ptr = _tx_thread_current_ptr; in _tx_thread_interrupt_control()
167 _tx_thread_current_ptr -> tx_thread_linux_int_disabled_flag = TX_FALSE; in _tx_thread_interrupt_control()
176 _tx_thread_current_ptr -> tx_thread_linux_int_disabled_flag = TX_TRUE; in _tx_thread_interrupt_control()
/ThreadX-v6.3.0/utility/rtos_compatibility_layers/posix/
Dpx_in_thread_context.c71 extern TX_THREAD * _tx_thread_current_ptr; in posix_in_thread_context()
90 else if ((!_tx_thread_current_ptr) /* Not in a thread */ in posix_in_thread_context()
94 || (_tx_thread_current_ptr == &_tx_timer_thread) in posix_in_thread_context()
/ThreadX-v6.3.0/ports/cortex_m3/ghs/src/
Dtxr_ghs.c65 extern TX_THREAD *_tx_thread_current_ptr;
69 if(_tx_thread_current_ptr) in __stkchk()
72 (unsigned)(_tx_thread_current_ptr -> tx_thread_stack_start)) in __stkchk()
/ThreadX-v6.3.0/ports/cortex_r4/ghs/src/
Dtxr_ghs.c65 extern TX_THREAD *_tx_thread_current_ptr;
69 if(_tx_thread_current_ptr) in __stkchk()
72 (unsigned)(_tx_thread_current_ptr -> tx_thread_stack_start)) in __stkchk()
/ThreadX-v6.3.0/ports/cortex_m4/ghs/src/
Dtxr_ghs.c65 extern TX_THREAD *_tx_thread_current_ptr;
69 if(_tx_thread_current_ptr) in __stkchk()
72 (unsigned)(_tx_thread_current_ptr -> tx_thread_stack_start)) in __stkchk()
/ThreadX-v6.3.0/ports/cortex_a8/ghs/src/
Dtxr_ghs.c65 extern TX_THREAD *_tx_thread_current_ptr;
69 if(_tx_thread_current_ptr) in __stkchk()
72 (unsigned)(_tx_thread_current_ptr -> tx_thread_stack_start)) in __stkchk()
/ThreadX-v6.3.0/ports/cortex_a9/ghs/src/
Dtxr_ghs.c65 extern TX_THREAD *_tx_thread_current_ptr;
69 if(_tx_thread_current_ptr) in __stkchk()
72 (unsigned)(_tx_thread_current_ptr -> tx_thread_stack_start)) in __stkchk()
/ThreadX-v6.3.0/ports/cortex_r5/ghs/src/
Dtxr_ghs.c65 extern TX_THREAD *_tx_thread_current_ptr;
69 if(_tx_thread_current_ptr) in __stkchk()
72 (unsigned)(_tx_thread_current_ptr -> tx_thread_stack_start)) in __stkchk()
/ThreadX-v6.3.0/ports/cortex_r7/ghs/src/
Dtxr_ghs.c65 extern TX_THREAD *_tx_thread_current_ptr;
69 if(_tx_thread_current_ptr) in __stkchk()
72 (unsigned)(_tx_thread_current_ptr -> tx_thread_stack_start)) in __stkchk()
/ThreadX-v6.3.0/ports_arch/ARMv7-M/threadx/ghs/src/
Dtxr_ghs.c65 extern TX_THREAD *_tx_thread_current_ptr;
69 if(_tx_thread_current_ptr) in __stkchk()
72 (unsigned)(_tx_thread_current_ptr -> tx_thread_stack_start)) in __stkchk()
/ThreadX-v6.3.0/ports/cortex_m7/ghs/src/
Dtxr_ghs.c65 extern TX_THREAD *_tx_thread_current_ptr;
69 if(_tx_thread_current_ptr) in __stkchk()
72 (unsigned)(_tx_thread_current_ptr -> tx_thread_stack_start)) in __stkchk()
/ThreadX-v6.3.0/ports/cortex_a7/ghs/src/
Dtxr_ghs.c65 extern TX_THREAD *_tx_thread_current_ptr;
69 if(_tx_thread_current_ptr) in __stkchk()
72 (unsigned)(_tx_thread_current_ptr -> tx_thread_stack_start)) in __stkchk()
/ThreadX-v6.3.0/ports/cortex_a5/ghs/src/
Dtxr_ghs.c65 extern TX_THREAD *_tx_thread_current_ptr;
69 if(_tx_thread_current_ptr) in __stkchk()
72 (unsigned)(_tx_thread_current_ptr -> tx_thread_stack_start)) in __stkchk()
/ThreadX-v6.3.0/ports/arc_hs/metaware/src/
Dtx_thread_system_return.s82 ld r0, [gp, _tx_thread_current_ptr@sda] ; Pickup current thread ptr
133 ld r0, [gp, _tx_thread_current_ptr@sda] ; Pickup current thread ptr
138 ; _tx_thread_current_ptr -> tx_thread_stack_ptr = sp;
149 ; _tx_thread_current_ptr -> tx_thread_time_slice = _tx_timer_time_slice;
159 ; _tx_thread_current_ptr = TX_NULL;
162 st r3, [gp, _tx_thread_current_ptr@sda] ; ..clearing current thread pointer
/ThreadX-v6.3.0/ports_smp/arc_hs_smp/metaware/src/
Dtx_thread_smp_current_thread_get.s81 asl r0, r0, 2 ; Build index into _tx_thread_current_ptr
82 mov r1, _tx_thread_current_ptr ; Build address of _tx_thread_current_ptr
/ThreadX-v6.3.0/ports_module/cortex_m7/ac5/module_manager/src/
Dtxm_module_manager_memory_fault_handler.c89 thread_ptr = _tx_thread_current_ptr; in _txm_module_manager_memory_fault_handler()
101 _tx_thread_terminate(_tx_thread_current_ptr); in _txm_module_manager_memory_fault_handler()
/ThreadX-v6.3.0/ports_module/cortex_m7/ac6/module_manager/src/
Dtxm_module_manager_memory_fault_handler.c89 thread_ptr = _tx_thread_current_ptr; in _txm_module_manager_memory_fault_handler()
101 _tx_thread_terminate(_tx_thread_current_ptr); in _txm_module_manager_memory_fault_handler()
/ThreadX-v6.3.0/ports_module/cortex_m7/gnu/module_manager/src/
Dtxm_module_manager_memory_fault_handler.c89 thread_ptr = _tx_thread_current_ptr; in _txm_module_manager_memory_fault_handler()
101 _tx_thread_terminate(_tx_thread_current_ptr); in _txm_module_manager_memory_fault_handler()

12345678910>>...48