Home
last modified time | relevance | path

Searched refs:old_threshold (Results 1 – 16 of 16) sorted by relevance

/ThreadX-v6.4.1/test/smp/regression/
Dthreadx_thread_preemption_change_test.c115 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 …]
Dthreadx_mutex_nested_priority_inheritance_test.c543 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()
Dthreadx_thread_relinquish_test.c271 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()
Dthreadx_thread_priority_change.c220 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/
Dthreadx_thread_preemption_change_test.c115 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 …]
Dthreadx_mutex_nested_priority_inheritance_test.c543 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/
Dpx_cond_broadcast.c95 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()
Dpx_cond_wait.c97 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()
Dpx_cond_timedwait.c103 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/
Dtxe_thread_preemption_change.c76 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()
Dtx_thread_preemption_change.c77 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/
Dtxe_thread_preemption_change.c76 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()
Dtx_thread_preemption_change.c76 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/
Dtxm_thread_preemption_change.c71 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/
Dtx_api.h1769 UINT *old_threshold);
1797 UINT *old_threshold);
1819 UINT *old_threshold);
/ThreadX-v6.4.1/common_smp/inc/
Dtx_api.h1796 UINT *old_threshold);
1824 UINT *old_threshold);