/ThreadX-v6.4.1/test/smp/regression/ |
D | threadx_thread_preemption_change_test.c | 115 UINT old_threshold; in thread_0_entry() local 143 status = tx_thread_preemption_change(&thread_0, 15, &old_threshold); in thread_0_entry() 146 status += tx_thread_preemption_change(&thread_0, 16, &old_threshold); in thread_0_entry() 150 (old_threshold != 15)) in thread_0_entry() 159 status = tx_thread_preemption_change(&thread_2, 11, &old_threshold); in thread_0_entry() 163 (old_threshold != 14)) in thread_0_entry() 172 status = tx_thread_preemption_change(&thread_0, 15, &old_threshold); in thread_0_entry() 176 (old_threshold != 16)) in thread_0_entry() 203 status = tx_thread_preemption_change(&thread_0, 14, &old_threshold); in thread_0_entry() 227 status = tx_thread_preemption_change(&thread_0, 15, &old_threshold); in thread_0_entry() [all …]
|
D | threadx_mutex_nested_priority_inheritance_test.c | 543 UINT old_threshold; in thread_1_entry() local 554 tx_thread_preemption_change(&thread_0, 14, &old_threshold); in thread_1_entry() 567 tx_thread_preemption_change(&thread_0, 8, &old_threshold); in thread_1_entry() 582 UINT old_threshold; in thread_2_entry() local 592 tx_thread_preemption_change(&thread_0, 14, &old_threshold); in thread_2_entry() 605 tx_thread_preemption_change(&thread_0, 8, &old_threshold); in thread_2_entry()
|
D | threadx_thread_relinquish_test.c | 271 UINT old_threshold; in thread_3_entry() local 312 status += tx_thread_preemption_change(&thread_3, 3, &old_threshold); in thread_3_entry() 319 status += tx_thread_preemption_change(&thread_3, old_threshold, &old_threshold); in thread_3_entry()
|
D | threadx_thread_priority_change.c | 220 UINT old_threshold; in thread_0_entry() local 378 status = tx_thread_preemption_change(&thread_1, 14, &old_threshold); in thread_0_entry() 381 …if ((status != TX_SUCCESS) || (old_threshold != 23) || (thread_1_counter != 2) || (thread_2_counte… in thread_0_entry()
|
/ThreadX-v6.4.1/test/tx/regression/ |
D | threadx_thread_preemption_change_test.c | 115 UINT old_threshold; in thread_0_entry() local 143 status = tx_thread_preemption_change(&thread_0, 15, &old_threshold); in thread_0_entry() 146 status += tx_thread_preemption_change(&thread_0, 16, &old_threshold); in thread_0_entry() 150 (old_threshold != 15)) in thread_0_entry() 159 status = tx_thread_preemption_change(&thread_2, 11, &old_threshold); in thread_0_entry() 163 (old_threshold != 14)) in thread_0_entry() 172 status = tx_thread_preemption_change(&thread_0, 15, &old_threshold); in thread_0_entry() 176 (old_threshold != 16)) in thread_0_entry() 203 status = tx_thread_preemption_change(&thread_0, 14, &old_threshold); in thread_0_entry() 227 status = tx_thread_preemption_change(&thread_0, 15, &old_threshold); in thread_0_entry() [all …]
|
D | threadx_mutex_nested_priority_inheritance_test.c | 543 UINT old_threshold; in thread_1_entry() local 554 tx_thread_preemption_change(&thread_0, 14, &old_threshold); in thread_1_entry() 567 tx_thread_preemption_change(&thread_0, 8, &old_threshold); in thread_1_entry() 582 UINT old_threshold; in thread_2_entry() local 592 tx_thread_preemption_change(&thread_0, 14, &old_threshold); in thread_2_entry() 605 tx_thread_preemption_change(&thread_0, 8, &old_threshold); in thread_2_entry()
|
/ThreadX-v6.4.1/utility/rtos_compatibility_layers/posix/ |
D | px_cond_broadcast.c | 95 UINT old_threshold,dummy; in pthread_cond_broadcast() local 121 tx_thread_preemption_change(thread,0,&old_threshold); in pthread_cond_broadcast() 131 tx_thread_preemption_change(thread,old_threshold,&dummy); in pthread_cond_broadcast() 144 tx_thread_preemption_change(thread,old_threshold,&dummy); in pthread_cond_broadcast()
|
D | px_cond_wait.c | 97 UINT old_threshold,dummy; in pthread_cond_wait() local 104 tx_thread_preemption_change(thread,0,&old_threshold); in pthread_cond_wait() 113 tx_thread_preemption_change(thread, old_threshold, &dummy); in pthread_cond_wait()
|
D | px_cond_timedwait.c | 103 UINT old_threshold,dummy; in pthread_cond_timedwait() local 110 tx_thread_preemption_change(thread,0,&old_threshold); in pthread_cond_timedwait() 120 tx_thread_preemption_change(thread, old_threshold, &dummy); in pthread_cond_timedwait()
|
/ThreadX-v6.4.1/common_smp/src/ |
D | txe_thread_preemption_change.c | 76 UINT _txe_thread_preemption_change(TX_THREAD *thread_ptr, UINT new_threshold, UINT *old_threshold) in _txe_thread_preemption_change() argument 99 else if (old_threshold == TX_NULL) in _txe_thread_preemption_change() 125 status = _tx_thread_preemption_change(thread_ptr, new_threshold, old_threshold); in _txe_thread_preemption_change()
|
D | tx_thread_preemption_change.c | 77 UINT _tx_thread_preemption_change(TX_THREAD *thread_ptr, UINT new_threshold, UINT *old_threshold) in _tx_thread_preemption_change() argument 143 *old_threshold = thread_ptr -> tx_thread_user_preempt_threshold; in _tx_thread_preemption_change()
|
/ThreadX-v6.4.1/common/src/ |
D | txe_thread_preemption_change.c | 76 UINT _txe_thread_preemption_change(TX_THREAD *thread_ptr, UINT new_threshold, UINT *old_threshold) in _txe_thread_preemption_change() argument 99 else if (old_threshold == TX_NULL) in _txe_thread_preemption_change() 125 status = _tx_thread_preemption_change(thread_ptr, new_threshold, old_threshold); in _txe_thread_preemption_change()
|
D | tx_thread_preemption_change.c | 76 UINT _tx_thread_preemption_change(TX_THREAD *thread_ptr, UINT new_threshold, UINT *old_threshold) in _tx_thread_preemption_change() argument 168 *old_threshold = thread_ptr -> tx_thread_user_preempt_threshold; in _tx_thread_preemption_change()
|
/ThreadX-v6.4.1/common_modules/module_lib/src/ |
D | txm_thread_preemption_change.c | 71 UINT _txe_thread_preemption_change(TX_THREAD *thread_ptr, UINT new_threshold, UINT *old_threshold) in _txe_thread_preemption_change() argument 77 …TION_CHANGE_CALL, (ALIGN_TYPE) thread_ptr, (ALIGN_TYPE) new_threshold, (ALIGN_TYPE) old_threshold); in _txe_thread_preemption_change()
|
/ThreadX-v6.4.1/common/inc/ |
D | tx_api.h | 1769 UINT *old_threshold); 1797 UINT *old_threshold); 1819 UINT *old_threshold);
|
/ThreadX-v6.4.1/common_smp/inc/ |
D | tx_api.h | 1796 UINT *old_threshold); 1824 UINT *old_threshold);
|