/ThreadX-v6.2.1/ports/linux/gnu/src/ |
D | tx_thread_schedule.c | 214 pthread_t thread_id; in _tx_thread_delete_port_completion() local 217 thread_id = thread_ptr -> tx_thread_linux_thread_id; in _tx_thread_delete_port_completion() 224 linux_status = pthread_cancel(thread_id); in _tx_thread_delete_port_completion() 229 _tx_linux_thread_resume(thread_id); in _tx_thread_delete_port_completion() 233 pthread_join(thread_id, NULL); in _tx_thread_delete_port_completion() 242 pthread_t thread_id; in _tx_thread_reset_port_completion() local 245 thread_id = thread_ptr -> tx_thread_linux_thread_id; in _tx_thread_reset_port_completion() 252 linux_status = pthread_cancel(thread_id); in _tx_thread_reset_port_completion() 257 _tx_linux_thread_resume(thread_id); in _tx_thread_reset_port_completion() 261 pthread_join(thread_id, NULL); in _tx_thread_reset_port_completion()
|
D | tx_thread_system_return.c | 90 pthread_t thread_id; in _tx_thread_system_return() local 103 thread_id = pthread_self(); in _tx_thread_system_return() 111 …((!temp_thread_ptr) || (!pthread_equal(temp_thread_ptr -> tx_thread_linux_thread_id, thread_id)))) in _tx_thread_system_return() 183 …((!temp_thread_ptr) || (!pthread_equal(temp_thread_ptr -> tx_thread_linux_thread_id, thread_id)))) in _tx_thread_system_return()
|
D | tx_thread_interrupt_control.c | 98 pthread_t thread_id; in _tx_thread_interrupt_control() local 106 thread_id = pthread_self(); in _tx_thread_interrupt_control() 114 ((!thread_ptr) || (!pthread_equal(thread_ptr -> tx_thread_linux_thread_id, thread_id)))) in _tx_thread_interrupt_control()
|
D | tx_initialize_low_level.c | 67 void _tx_linux_thread_suspend(pthread_t thread_id); 407 void _tx_linux_thread_suspend(pthread_t thread_id) in _tx_linux_thread_suspend() argument 412 pthread_kill(thread_id, SUSPEND_SIG); in _tx_linux_thread_suspend() 416 if(pthread_equal(thread_id, _tx_linux_timer_id)) in _tx_linux_thread_suspend() 422 void _tx_linux_thread_resume(pthread_t thread_id) in _tx_linux_thread_resume() argument 427 pthread_kill(thread_id, RESUME_SIG); in _tx_linux_thread_resume()
|
/ThreadX-v6.2.1/utility/benchmarks/thread_metric/threadx_example/ |
D | tm_porting_layer_threadx.c | 131 int tm_thread_create(int thread_id, int priority, void (*entry_function)(void)) in tm_thread_create() argument 137 tm_thread_entry_functions[thread_id] = (void *) entry_function; in tm_thread_create() 140 …atus = tx_thread_create(&tm_thread_array[thread_id], "Thread-Metric test", tm_thread_entry, (ULON… in tm_thread_create() 141 … &tm_thread_stack_area[thread_id*TM_THREADX_THREAD_STACK_SIZE], TM_THREADX_THREAD_STACK_SIZE, in tm_thread_create() 154 int tm_thread_resume(int thread_id) in tm_thread_resume() argument 161 status = tx_thread_resume(&tm_thread_array[thread_id]); in tm_thread_resume() 173 int tm_thread_suspend(int thread_id) in tm_thread_suspend() argument 180 status = tx_thread_suspend(&tm_thread_array[thread_id]); in tm_thread_suspend()
|
/ThreadX-v6.2.1/ports_smp/linux/gnu/src/ |
D | tx_thread_smp_core_get.c | 79 pthread_t thread_id; in _tx_thread_smp_core_get() local 89 thread_id = pthread_self(); in _tx_thread_smp_core_get() 96 if (_tx_linux_virtual_cores[i].tx_thread_smp_core_mapping_linux_thread_id == thread_id) in _tx_thread_smp_core_get()
|
D | tx_thread_smp_current_state_get.c | 80 pthread_t thread_id; in _tx_thread_smp_current_state_get() local 90 thread_id = pthread_self(); in _tx_thread_smp_current_state_get() 97 if (_tx_linux_virtual_cores[i].tx_thread_smp_core_mapping_linux_thread_id == thread_id) in _tx_thread_smp_current_state_get()
|
D | tx_thread_smp_current_thread_get.c | 78 pthread_t thread_id; in _tx_thread_smp_current_thread_get() local 89 thread_id = pthread_self(); in _tx_thread_smp_current_thread_get() 96 if (_tx_linux_virtual_cores[i].tx_thread_smp_core_mapping_linux_thread_id == thread_id) in _tx_thread_smp_current_thread_get()
|
D | tx_thread_schedule.c | 477 pthread_t thread_id; in _tx_thread_delete_port_completion() local 478 thread_id = thread_ptr -> tx_thread_linux_thread_id; in _tx_thread_delete_port_completion() 483 linux_status = pthread_cancel(thread_id); in _tx_thread_delete_port_completion() 488 _tx_linux_thread_resume(thread_id); in _tx_thread_delete_port_completion() 492 pthread_join(thread_id, NULL); in _tx_thread_delete_port_completion() 501 pthread_t thread_id; in _tx_thread_reset_port_completion() local 502 thread_id = thread_ptr -> tx_thread_linux_thread_id; in _tx_thread_reset_port_completion() 507 linux_status = pthread_cancel(thread_id); in _tx_thread_reset_port_completion() 512 _tx_linux_thread_resume(thread_id); in _tx_thread_reset_port_completion() 516 pthread_join(thread_id, NULL); in _tx_thread_reset_port_completion()
|
D | tx_thread_system_return.c | 90 pthread_t thread_id; in _tx_thread_system_return() local 107 thread_id = pthread_self(); in _tx_thread_system_return() 115 … ((!temp_thread_ptr) || (!pthread_equal(temp_thread_ptr -> tx_thread_linux_thread_id, thread_id)))) in _tx_thread_system_return() 218 … ((!temp_thread_ptr) || (!pthread_equal(temp_thread_ptr -> tx_thread_linux_thread_id, thread_id)))) in _tx_thread_system_return()
|
D | tx_thread_interrupt_control.c | 99 pthread_t thread_id; in _tx_thread_interrupt_control() local 125 thread_id = pthread_self(); in _tx_thread_interrupt_control() 136 ((!thread_ptr) || (!pthread_equal(thread_ptr -> tx_thread_linux_thread_id, thread_id)))) in _tx_thread_interrupt_control()
|
D | tx_initialize_low_level.c | 399 void _tx_linux_thread_suspend(pthread_t thread_id) in _tx_linux_thread_suspend() argument 404 pthread_kill(thread_id, SUSPEND_SIG); in _tx_linux_thread_suspend() 408 if(pthread_equal(thread_id, _tx_linux_timer_id)) in _tx_linux_thread_suspend() 414 void _tx_linux_thread_resume(pthread_t thread_id) in _tx_linux_thread_resume() argument 419 pthread_kill(thread_id, RESUME_SIG); in _tx_linux_thread_resume()
|
/ThreadX-v6.2.1/utility/benchmarks/thread_metric/ |
D | tm_porting_layer_template.c | 40 int tm_thread_create(int thread_id, int priority, void (*entry_function)(void)) in tm_thread_create() argument 48 int tm_thread_resume(int thread_id) in tm_thread_resume() argument 56 int tm_thread_suspend(int thread_id) in tm_thread_suspend() argument
|
D | tm_api.h | 80 int tm_thread_create(int thread_id, int priority, void (*entry_function)(void)); 81 int tm_thread_resume(int thread_id); 82 int tm_thread_suspend(int thread_id);
|
D | thread_metric_readme.txt | 131 int tm_thread_create(int thread_id, int priority, void (*entry_function)(void)); 138 int tm_thread_resume(int thread_id); 141 thread_id. If successful, a TM_SUCCESS is returned. 143 int tm_thread_suspend(int thread_id); 146 thread_id. If successful, a TM_SUCCESS is returned.
|
/ThreadX-v6.2.1/utility/rtos_compatibility_layers/posix/ |
D | px_pth_kill.c | 82 int pthread_kill(ALIGN_TYPE thread_id, int sig) in pthread_kill() argument 112 target_thread = (POSIX_TCB *) thread_id; in pthread_kill()
|
D | readme_threadx_posix.txt | 176 INT pthread_kill(ALIGN_TYPE thread_id, int sig)
|
/ThreadX-v6.2.1/ports/linux/gnu/inc/ |
D | tx_port.h | 564 void _tx_linux_thread_suspend(pthread_t thread_id); 565 void _tx_linux_thread_resume(pthread_t thread_id);
|
/ThreadX-v6.2.1/ports_smp/linux/gnu/inc/ |
D | tx_port.h | 655 void _tx_linux_thread_suspend(pthread_t thread_id); 656 void _tx_linux_thread_resume(pthread_t thread_id);
|