Home
last modified time | relevance | path

Searched refs:next_priority (Results 1 – 4 of 4) sorted by relevance

/ThreadX-v6.4.1/common_smp/src/
Dtx_thread_smp_rebalance_execute_list.c96 UINT next_priority; in _tx_thread_smp_rebalance_execute_list() local
131 next_priority = ((UINT) 0); in _tx_thread_smp_rebalance_execute_list()
173 next_priority = _tx_thread_smp_next_priority_find(next_priority); in _tx_thread_smp_rebalance_execute_list()
176 if (next_priority == ((UINT) TX_MAX_PRIORITIES)) in _tx_thread_smp_rebalance_execute_list()
192 if (next_priority >= preempted_thread -> tx_thread_preempt_threshold) in _tx_thread_smp_rebalance_execute_list()
196 if (next_priority <= preempted_thread -> tx_thread_priority) in _tx_thread_smp_rebalance_execute_list()
200 next_priority = preempted_thread -> tx_thread_priority; in _tx_thread_smp_rebalance_execute_list()
212 next_priority = ((UINT) TX_MAX_PRIORITIES); in _tx_thread_smp_rebalance_execute_list()
227 schedule_thread = _tx_thread_priority_list[next_priority]; in _tx_thread_smp_rebalance_execute_list()
251 if (schedule_thread == _tx_thread_priority_list[next_priority]) in _tx_thread_smp_rebalance_execute_list()
[all …]
Dtx_thread_system_suspend.c118 UINT next_priority; in _tx_thread_system_suspend() local
649 next_priority = thread_ptr -> tx_thread_priority; in _tx_thread_system_suspend()
659 next_priority++; in _tx_thread_system_suspend()
675 if (next_priority == (ULONG)TX_MAX_PRIORITIES) in _tx_thread_system_suspend()
693 next_priority = _tx_thread_smp_next_priority_find(next_priority); in _tx_thread_system_suspend()
696 if (next_priority == ((UINT) TX_MAX_PRIORITIES)) in _tx_thread_system_suspend()
706 next_thread = _tx_thread_priority_list[next_priority]; in _tx_thread_system_suspend()
814 if (next_thread == _tx_thread_priority_list[next_priority]) in _tx_thread_system_suspend()
819 next_priority++; in _tx_thread_system_suspend()
822 if (next_priority == ((UINT) TX_MAX_PRIORITIES)) in _tx_thread_system_suspend()
Dtx_thread_smp_utilities.c135 UINT next_priority; in _tx_thread_smp_next_priority_find() local
139 next_priority = priority; in _tx_thread_smp_next_priority_find()
142 next_priority = ((UINT) TX_MAX_PRIORITIES); in _tx_thread_smp_next_priority_find()
146 if (next_priority >= ((UINT) TX_MAX_PRIORITIES)) in _tx_thread_smp_next_priority_find()
148 next_priority = ((UINT) TX_MAX_PRIORITIES); in _tx_thread_smp_next_priority_find()
153 next_priority = priority + first_bit_set; in _tx_thread_smp_next_priority_find()
157 return(next_priority); in _tx_thread_smp_next_priority_find()
/ThreadX-v6.4.1/common_smp/inc/
Dtx_thread.h650 UINT next_priority; in _tx_thread_smp_next_priority_find() local
654 next_priority = priority; in _tx_thread_smp_next_priority_find()
657 next_priority = ((UINT) TX_MAX_PRIORITIES); in _tx_thread_smp_next_priority_find()
661 if (next_priority >= ((UINT) TX_MAX_PRIORITIES)) in _tx_thread_smp_next_priority_find()
663 next_priority = ((UINT) TX_MAX_PRIORITIES); in _tx_thread_smp_next_priority_find()
668 next_priority = priority + first_bit_set; in _tx_thread_smp_next_priority_find()
672 return(next_priority); in _tx_thread_smp_next_priority_find()