Home
last modified time | relevance | path

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

/ThreadX-v6.2.1/common_smp/src/
Dtx_thread_smp_rebalance_execute_list.c97 UINT next_priority; in _tx_thread_smp_rebalance_execute_list() local
132 next_priority = ((UINT) 0); in _tx_thread_smp_rebalance_execute_list()
174 next_priority = _tx_thread_smp_next_priority_find(next_priority); in _tx_thread_smp_rebalance_execute_list()
177 if (next_priority == ((UINT) TX_MAX_PRIORITIES)) in _tx_thread_smp_rebalance_execute_list()
193 if (next_priority >= preempted_thread -> tx_thread_preempt_threshold) in _tx_thread_smp_rebalance_execute_list()
197 if (next_priority <= preempted_thread -> tx_thread_priority) in _tx_thread_smp_rebalance_execute_list()
201 next_priority = preempted_thread -> tx_thread_priority; in _tx_thread_smp_rebalance_execute_list()
213 next_priority = ((UINT) TX_MAX_PRIORITIES); in _tx_thread_smp_rebalance_execute_list()
228 schedule_thread = _tx_thread_priority_list[next_priority]; in _tx_thread_smp_rebalance_execute_list()
252 if (schedule_thread == _tx_thread_priority_list[next_priority]) in _tx_thread_smp_rebalance_execute_list()
[all …]
Dtx_thread_system_suspend.c117 UINT next_priority; in _tx_thread_system_suspend() local
648 next_priority = thread_ptr -> tx_thread_priority; in _tx_thread_system_suspend()
658 next_priority++; in _tx_thread_system_suspend()
674 if (next_priority == TX_MAX_PRIORITIES) in _tx_thread_system_suspend()
692 next_priority = _tx_thread_smp_next_priority_find(next_priority); in _tx_thread_system_suspend()
695 if (next_priority == ((UINT) TX_MAX_PRIORITIES)) in _tx_thread_system_suspend()
705 next_thread = _tx_thread_priority_list[next_priority]; in _tx_thread_system_suspend()
813 if (next_thread == _tx_thread_priority_list[next_priority]) in _tx_thread_system_suspend()
818 next_priority++; in _tx_thread_system_suspend()
821 if (next_priority == ((UINT) TX_MAX_PRIORITIES)) in _tx_thread_system_suspend()
Dtx_thread_smp_utilities.c136 UINT next_priority; in _tx_thread_smp_next_priority_find() local
140 next_priority = priority; in _tx_thread_smp_next_priority_find()
143 next_priority = ((UINT) TX_MAX_PRIORITIES); in _tx_thread_smp_next_priority_find()
147 if (next_priority >= ((UINT) TX_MAX_PRIORITIES)) in _tx_thread_smp_next_priority_find()
149 next_priority = ((UINT) TX_MAX_PRIORITIES); in _tx_thread_smp_next_priority_find()
154 next_priority = priority + first_bit_set; in _tx_thread_smp_next_priority_find()
158 return(next_priority); in _tx_thread_smp_next_priority_find()
/ThreadX-v6.2.1/common_smp/inc/
Dtx_thread.h649 UINT next_priority; in _tx_thread_smp_next_priority_find() local
653 next_priority = priority; in _tx_thread_smp_next_priority_find()
656 next_priority = ((UINT) TX_MAX_PRIORITIES); in _tx_thread_smp_next_priority_find()
660 if (next_priority >= ((UINT) TX_MAX_PRIORITIES)) in _tx_thread_smp_next_priority_find()
662 next_priority = ((UINT) TX_MAX_PRIORITIES); in _tx_thread_smp_next_priority_find()
667 next_priority = priority + first_bit_set; in _tx_thread_smp_next_priority_find()
671 return(next_priority); in _tx_thread_smp_next_priority_find()