Home
last modified time | relevance | path

Searched refs:old_priority (Results 1 – 19 of 19) sorted by relevance

/ThreadX-v6.3.0/test/smp/regression/
Dthreadx_thread_priority_change.c221 UINT old_priority; in thread_0_entry() local
238 status = tx_thread_priority_change(&thread_0, 22, &old_priority); in thread_0_entry()
241 if ((status != TX_SUCCESS) || (old_priority != 16) || (thread_1_counter != 0)) in thread_0_entry()
250 tx_thread_priority_change(&thread_0, old_priority, &old_priority); in thread_0_entry()
253 status = tx_thread_priority_change(&thread_0, 7, &old_priority); in thread_0_entry()
256 if ((status != TX_SUCCESS) || (old_priority != 16) || (thread_1_counter != 0)) in thread_0_entry()
265 status = tx_thread_priority_change(&thread_1, 21, &old_priority); in thread_0_entry()
268 if ((status != TX_SUCCESS) || (old_priority != 22) || (thread_1_counter != 0)) in thread_0_entry()
277 status = tx_thread_priority_change(&thread_0, 22, &old_priority); in thread_0_entry()
280 if ((status != TX_SUCCESS) || (old_priority != 7) || (thread_1_counter != 1)) in thread_0_entry()
[all …]
Dthreadx_mutex_priority_inheritance_test.c483 UINT old_priority; in thread_4_entry() local
506 status = tx_thread_priority_change(&thread_4, 8, &old_priority); in thread_4_entry()
509 if ((status != TX_SUCCESS) || (thread_4.tx_thread_user_priority != 8) || (old_priority != 10)) in thread_4_entry()
517 status = tx_thread_priority_change(&thread_4, 8, &old_priority); in thread_4_entry()
520 if ((status != TX_SUCCESS) || (thread_4.tx_thread_user_priority != 8) || (old_priority != 8)) in thread_4_entry()
528 status = tx_thread_priority_change(&thread_4, 10, &old_priority); in thread_4_entry()
531 if ((status != TX_SUCCESS) || (thread_4.tx_thread_user_priority != 10) || (old_priority != 8)) in thread_4_entry()
Dthreadx_mutex_nested_priority_inheritance_test.c542 UINT old_priority; in thread_1_entry() local
553 tx_thread_priority_change(&thread_0, 15, &old_priority); in thread_1_entry()
566 tx_thread_priority_change(&thread_0, 15, &old_priority); in thread_1_entry()
581 UINT old_priority; in thread_2_entry() local
591 tx_thread_priority_change(&thread_0, 15, &old_priority); in thread_2_entry()
604 tx_thread_priority_change(&thread_0, 15, &old_priority); in thread_2_entry()
Dthreadx_queue_full_suspension_test.c285 UINT old_priority; in thread_1_entry() local
299 tx_thread_priority_change(&thread_2, 15, &old_priority); in thread_1_entry()
326 UINT old_priority; in thread_1a_entry() local
349 tx_thread_priority_change(&thread_2a, 15, &old_priority); in thread_1a_entry()
Dthreadx_thread_relinquish_test.c272 UINT old_priority; in thread_3_entry() local
309 status = tx_thread_priority_change(&thread_3, 31, &old_priority); in thread_3_entry()
/ThreadX-v6.3.0/test/tx/regression/
Dthreadx_thread_priority_change.c161 UINT old_priority; in thread_0_entry() local
177 status = tx_thread_priority_change(&thread_0, 22, &old_priority); in thread_0_entry()
180 if ((status != TX_SUCCESS) || (old_priority != 16) || (thread_1_counter != 0)) in thread_0_entry()
189 tx_thread_priority_change(&thread_0, old_priority, &old_priority); in thread_0_entry()
192 status = tx_thread_priority_change(&thread_0, 7, &old_priority); in thread_0_entry()
195 if ((status != TX_SUCCESS) || (old_priority != 16) || (thread_1_counter != 0)) in thread_0_entry()
204 status = tx_thread_priority_change(&thread_1, 21, &old_priority); in thread_0_entry()
207 if ((status != TX_SUCCESS) || (old_priority != 22) || (thread_1_counter != 0)) in thread_0_entry()
216 status = tx_thread_priority_change(&thread_0, 22, &old_priority); in thread_0_entry()
219 if ((status != TX_SUCCESS) || (old_priority != 7) || (thread_1_counter != 1)) in thread_0_entry()
[all …]
Dthreadx_mutex_nested_priority_inheritance_test.c542 UINT old_priority; in thread_1_entry() local
553 tx_thread_priority_change(&thread_0, 15, &old_priority); in thread_1_entry()
566 tx_thread_priority_change(&thread_0, 15, &old_priority); in thread_1_entry()
581 UINT old_priority; in thread_2_entry() local
591 tx_thread_priority_change(&thread_0, 15, &old_priority); in thread_2_entry()
604 tx_thread_priority_change(&thread_0, 15, &old_priority); in thread_2_entry()
Dthreadx_queue_full_suspension_test.c285 UINT old_priority; in thread_1_entry() local
299 tx_thread_priority_change(&thread_2, 15, &old_priority); in thread_1_entry()
326 UINT old_priority; in thread_1a_entry() local
349 tx_thread_priority_change(&thread_2a, 15, &old_priority); in thread_1a_entry()
Dthreadx_mutex_suspension_timeout_test.c153 UINT old_priority; in thread_0_entry() local
225 tx_thread_priority_change(&low_priority, 10, &old_priority); in thread_0_entry()
234 tx_thread_priority_change(&low_priority, 30, &old_priority); in thread_0_entry()
/ThreadX-v6.3.0/common/src/
Dtxe_thread_priority_change.c78 UINT _txe_thread_priority_change(TX_THREAD *thread_ptr, UINT new_priority, UINT *old_priority) in _txe_thread_priority_change() argument
101 else if (old_priority == TX_NULL) in _txe_thread_priority_change()
127 status = _tx_thread_priority_change(thread_ptr, new_priority, old_priority); in _txe_thread_priority_change()
Dtx_mutex_put.c87 UINT old_priority; in _tx_mutex_put() local
116 …, mutex_ptr -> tx_mutex_ownership_count, TX_POINTER_TO_ULONG_CONVERT(&old_priority), TX_TRACE_MUTE… in _tx_mutex_put()
243 old_priority = thread_ptr -> tx_thread_user_priority; in _tx_mutex_put()
306 if (inheritance_priority < old_priority) in _tx_mutex_put()
310 old_priority = inheritance_priority; in _tx_mutex_put()
386 if ((mutex_ptr -> tx_mutex_owner) -> tx_thread_priority != old_priority) in _tx_mutex_put()
390 … _tx_mutex_priority_change(mutex_ptr -> tx_mutex_owner, old_priority); in _tx_mutex_put()
556 if (old_owner -> tx_thread_priority != old_priority) in _tx_mutex_put()
560 _tx_mutex_priority_change(old_owner, old_priority); in _tx_mutex_put()
623 if (old_owner -> tx_thread_priority != old_priority) in _tx_mutex_put()
[all …]
Dtx_thread_priority_change.c89 UINT _tx_thread_priority_change(TX_THREAD *thread_ptr, UINT new_priority, UINT *old_priority) in _tx_thread_priority_change() argument
103 *old_priority = thread_ptr -> tx_thread_user_priority; in _tx_thread_priority_change() local
/ThreadX-v6.3.0/common_smp/src/
Dtxe_thread_priority_change.c78 UINT _txe_thread_priority_change(TX_THREAD *thread_ptr, UINT new_priority, UINT *old_priority) in _txe_thread_priority_change() argument
101 else if (old_priority == TX_NULL) in _txe_thread_priority_change()
127 status = _tx_thread_priority_change(thread_ptr, new_priority, old_priority); in _txe_thread_priority_change()
Dtx_mutex_put.c87 UINT old_priority; in _tx_mutex_put() local
116 …, mutex_ptr -> tx_mutex_ownership_count, TX_POINTER_TO_ULONG_CONVERT(&old_priority), TX_TRACE_MUTE… in _tx_mutex_put()
243 old_priority = thread_ptr -> tx_thread_user_priority; in _tx_mutex_put()
306 if (inheritance_priority < old_priority) in _tx_mutex_put()
310 old_priority = inheritance_priority; in _tx_mutex_put()
386 if ((mutex_ptr -> tx_mutex_owner) -> tx_thread_priority != old_priority) in _tx_mutex_put()
390 … _tx_mutex_priority_change(mutex_ptr -> tx_mutex_owner, old_priority); in _tx_mutex_put()
556 if (old_owner -> tx_thread_priority != old_priority) in _tx_mutex_put()
560 _tx_mutex_priority_change(old_owner, old_priority); in _tx_mutex_put()
623 if (old_owner -> tx_thread_priority != old_priority) in _tx_mutex_put()
[all …]
Dtx_thread_priority_change.c85 UINT _tx_thread_priority_change(TX_THREAD *thread_ptr, UINT new_priority, UINT *old_priority) in _tx_thread_priority_change() argument
119 *old_priority = thread_ptr -> tx_thread_user_priority; in _tx_thread_priority_change()
/ThreadX-v6.3.0/common_modules/module_lib/src/
Dtxm_thread_priority_change.c72 UINT _txe_thread_priority_change(TX_THREAD *thread_ptr, UINT new_priority, UINT *old_priority) in _txe_thread_priority_change() argument
78 …IORITY_CHANGE_CALL, (ALIGN_TYPE) thread_ptr, (ALIGN_TYPE) new_priority, (ALIGN_TYPE) old_priority); in _txe_thread_priority_change()
/ThreadX-v6.3.0/common/inc/
Dtx_api.h1766 UINT *old_priority);
1794 UINT *old_priority);
1816 UINT *old_priority);
/ThreadX-v6.3.0/utility/rtos_compatibility_layers/FreeRTOS/
Dtx_freertos.c636 UINT old_priority; in vTaskPrioritySet() local
650 ret = tx_thread_priority_change(p_thread, priority, &old_priority); in vTaskPrioritySet()
/ThreadX-v6.3.0/common_smp/inc/
Dtx_api.h1793 UINT *old_priority);
1821 UINT *old_priority);