| /ThreadX-v6.4.1/ports/linux/gnu/src/ |
| D | tx_thread_schedule.c | 213 pthread_t thread_id; in _tx_thread_delete_port_completion() local 216 thread_id = thread_ptr -> tx_thread_linux_thread_id; in _tx_thread_delete_port_completion() 223 linux_status = pthread_cancel(thread_id); in _tx_thread_delete_port_completion() 228 _tx_linux_thread_resume(thread_id); in _tx_thread_delete_port_completion() 232 pthread_join(thread_id, NULL); in _tx_thread_delete_port_completion() 241 pthread_t thread_id; in _tx_thread_reset_port_completion() local 244 thread_id = thread_ptr -> tx_thread_linux_thread_id; in _tx_thread_reset_port_completion() 251 linux_status = pthread_cancel(thread_id); in _tx_thread_reset_port_completion() 256 _tx_linux_thread_resume(thread_id); in _tx_thread_reset_port_completion() 260 pthread_join(thread_id, NULL); in _tx_thread_reset_port_completion()
|
| D | tx_thread_system_return.c | 89 pthread_t thread_id; in _tx_thread_system_return() local 102 thread_id = pthread_self(); in _tx_thread_system_return() 110 …((!temp_thread_ptr) || (!pthread_equal(temp_thread_ptr -> tx_thread_linux_thread_id, thread_id)))) in _tx_thread_system_return() 182 …((!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 | 97 pthread_t thread_id; in _tx_thread_interrupt_control() local 105 thread_id = pthread_self(); in _tx_thread_interrupt_control() 113 ((!thread_ptr) || (!pthread_equal(thread_ptr -> tx_thread_linux_thread_id, thread_id)))) in _tx_thread_interrupt_control()
|
| D | tx_initialize_low_level.c | 66 void _tx_linux_thread_suspend(pthread_t thread_id); 406 void _tx_linux_thread_suspend(pthread_t thread_id) in _tx_linux_thread_suspend() argument 411 pthread_kill(thread_id, SUSPEND_SIG); in _tx_linux_thread_suspend() 415 if(pthread_equal(thread_id, _tx_linux_timer_id)) in _tx_linux_thread_suspend() 421 void _tx_linux_thread_resume(pthread_t thread_id) in _tx_linux_thread_resume() argument 426 pthread_kill(thread_id, RESUME_SIG); in _tx_linux_thread_resume()
|
| /ThreadX-v6.4.1/utility/benchmarks/thread_metric/threadx_example/ |
| D | tm_porting_layer_threadx.c | 130 int tm_thread_create(int thread_id, int priority, void (*entry_function)(void)) in tm_thread_create() argument 136 tm_thread_entry_functions[thread_id] = (void *) entry_function; in tm_thread_create() 139 …atus = tx_thread_create(&tm_thread_array[thread_id], "Thread-Metric test", tm_thread_entry, (ULON… in tm_thread_create() 140 … &tm_thread_stack_area[thread_id*TM_THREADX_THREAD_STACK_SIZE], TM_THREADX_THREAD_STACK_SIZE, in tm_thread_create() 153 int tm_thread_resume(int thread_id) in tm_thread_resume() argument 160 status = tx_thread_resume(&tm_thread_array[thread_id]); in tm_thread_resume() 172 int tm_thread_suspend(int thread_id) in tm_thread_suspend() argument 179 status = tx_thread_suspend(&tm_thread_array[thread_id]); in tm_thread_suspend()
|
| /ThreadX-v6.4.1/ports_smp/linux/gnu/src/ |
| D | tx_thread_smp_core_get.c | 78 pthread_t thread_id; in _tx_thread_smp_core_get() local 88 thread_id = pthread_self(); in _tx_thread_smp_core_get() 95 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 | 79 pthread_t thread_id; in _tx_thread_smp_current_state_get() local 89 thread_id = pthread_self(); in _tx_thread_smp_current_state_get() 96 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 | 77 pthread_t thread_id; in _tx_thread_smp_current_thread_get() local 88 thread_id = pthread_self(); in _tx_thread_smp_current_thread_get() 95 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 | 476 pthread_t thread_id; in _tx_thread_delete_port_completion() local 477 thread_id = thread_ptr -> tx_thread_linux_thread_id; in _tx_thread_delete_port_completion() 482 linux_status = pthread_cancel(thread_id); in _tx_thread_delete_port_completion() 487 _tx_linux_thread_resume(thread_id); in _tx_thread_delete_port_completion() 491 pthread_join(thread_id, NULL); in _tx_thread_delete_port_completion() 500 pthread_t thread_id; in _tx_thread_reset_port_completion() local 501 thread_id = thread_ptr -> tx_thread_linux_thread_id; in _tx_thread_reset_port_completion() 506 linux_status = pthread_cancel(thread_id); in _tx_thread_reset_port_completion() 511 _tx_linux_thread_resume(thread_id); in _tx_thread_reset_port_completion() 515 pthread_join(thread_id, NULL); in _tx_thread_reset_port_completion()
|
| D | tx_thread_system_return.c | 89 pthread_t thread_id; in _tx_thread_system_return() local 106 thread_id = pthread_self(); in _tx_thread_system_return() 114 … ((!temp_thread_ptr) || (!pthread_equal(temp_thread_ptr -> tx_thread_linux_thread_id, thread_id)))) in _tx_thread_system_return() 217 … ((!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 124 thread_id = pthread_self(); in _tx_thread_interrupt_control() 135 ((!thread_ptr) || (!pthread_equal(thread_ptr -> tx_thread_linux_thread_id, thread_id)))) in _tx_thread_interrupt_control()
|
| D | tx_initialize_low_level.c | 398 void _tx_linux_thread_suspend(pthread_t thread_id) in _tx_linux_thread_suspend() argument 403 pthread_kill(thread_id, SUSPEND_SIG); in _tx_linux_thread_suspend() 407 if(pthread_equal(thread_id, _tx_linux_timer_id)) in _tx_linux_thread_suspend() 413 void _tx_linux_thread_resume(pthread_t thread_id) in _tx_linux_thread_resume() argument 418 pthread_kill(thread_id, RESUME_SIG); in _tx_linux_thread_resume()
|
| /ThreadX-v6.4.1/utility/benchmarks/thread_metric/ |
| D | tm_porting_layer_template.c | 39 int tm_thread_create(int thread_id, int priority, void (*entry_function)(void)) in tm_thread_create() argument 47 int tm_thread_resume(int thread_id) in tm_thread_resume() argument 55 int tm_thread_suspend(int thread_id) in tm_thread_suspend() argument
|
| D | tm_api.h | 79 int tm_thread_create(int thread_id, int priority, void (*entry_function)(void)); 80 int tm_thread_resume(int thread_id); 81 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.4.1/utility/rtos_compatibility_layers/posix/ |
| D | px_pth_kill.c | 81 int pthread_kill(ALIGN_TYPE thread_id, int sig) in pthread_kill() argument 111 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.4.1/ports/linux/gnu/inc/ |
| D | tx_port.h | 566 void _tx_linux_thread_suspend(pthread_t thread_id); 567 void _tx_linux_thread_resume(pthread_t thread_id);
|
| /ThreadX-v6.4.1/ports_smp/linux/gnu/inc/ |
| D | tx_port.h | 654 void _tx_linux_thread_suspend(pthread_t thread_id); 655 void _tx_linux_thread_resume(pthread_t thread_id);
|