Lines Matching refs:new_threshold
77 UINT _tx_thread_preemption_change(TX_THREAD *thread_ptr, UINT new_threshold, UINT *old_threshold) in _tx_thread_preemption_change() argument
99 if (thread_ptr -> tx_thread_user_priority != new_threshold) in _tx_thread_preemption_change()
103 if (new_threshold != ((UINT) 0)) in _tx_thread_preemption_change()
108 new_threshold = ((UINT) 0); in _tx_thread_preemption_change()
117 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_THREAD_PREEMPTION_CHANGE, thread_ptr, new_threshold, thread_ptr -… in _tx_thread_preemption_change()
123 if (new_threshold > thread_ptr -> tx_thread_user_priority) in _tx_thread_preemption_change()
135 if (thread_ptr -> tx_thread_user_priority == new_threshold) in _tx_thread_preemption_change()
172 thread_ptr -> tx_thread_user_preempt_threshold = new_threshold; in _tx_thread_preemption_change()
175 if (new_threshold < thread_ptr -> tx_thread_inherit_priority) in _tx_thread_preemption_change()
179 thread_ptr -> tx_thread_preempt_threshold = new_threshold; in _tx_thread_preemption_change()
193 if (_tx_thread_highest_priority < new_threshold) in _tx_thread_preemption_change()