Home
last modified time | relevance | path

Searched refs:tx_thread_preempt_threshold (Results 1 – 25 of 49) sorted by relevance

12

/ThreadX-v6.3.0/common/src/
Dtx_mutex_priority_change.c125 … thread_ptr -> tx_thread_preempt_threshold = thread_ptr -> tx_thread_user_preempt_threshold; in _tx_mutex_priority_change()
131 thread_ptr -> tx_thread_preempt_threshold = new_priority; in _tx_mutex_priority_change()
170 … thread_ptr -> tx_thread_preempt_threshold = thread_ptr -> tx_thread_user_preempt_threshold; in _tx_mutex_priority_change()
176 thread_ptr -> tx_thread_preempt_threshold = new_priority; in _tx_mutex_priority_change()
219 … thread_ptr -> tx_thread_preempt_threshold = thread_ptr -> tx_thread_user_preempt_threshold; in _tx_mutex_priority_change()
225 thread_ptr -> tx_thread_preempt_threshold = new_priority; in _tx_mutex_priority_change()
282 … if (thread_ptr -> tx_thread_preempt_threshold < thread_ptr -> tx_thread_priority) in _tx_mutex_priority_change()
288 … if (thread_ptr -> tx_thread_preempt_threshold <= next_execute_ptr -> tx_thread_priority) in _tx_mutex_priority_change()
Dtx_thread_priority_change.c127 thread_ptr -> tx_thread_preempt_threshold = new_priority; in _tx_thread_priority_change()
134 thread_ptr -> tx_thread_preempt_threshold = thread_ptr -> tx_thread_inherit_priority; in _tx_thread_priority_change()
174 thread_ptr -> tx_thread_preempt_threshold = new_priority; in _tx_thread_priority_change()
181 thread_ptr -> tx_thread_preempt_threshold = thread_ptr -> tx_thread_inherit_priority; in _tx_thread_priority_change()
220 thread_ptr -> tx_thread_preempt_threshold = new_priority; in _tx_thread_priority_change()
227 thread_ptr -> tx_thread_preempt_threshold = thread_ptr -> tx_thread_inherit_priority; in _tx_thread_priority_change()
Dtx_thread_resume.c143 saved_threshold = saved_thread_ptr -> tx_thread_preempt_threshold; in _tx_thread_resume()
148 … saved_thread_ptr -> tx_thread_preempt_threshold = saved_thread_ptr -> tx_thread_priority; in _tx_thread_resume()
185 saved_thread_ptr -> tx_thread_preempt_threshold = saved_threshold; in _tx_thread_resume()
305 if (priority < execute_ptr -> tx_thread_preempt_threshold) in _tx_thread_resume()
311 … if (execute_ptr -> tx_thread_preempt_threshold != execute_ptr -> tx_thread_priority) in _tx_thread_resume()
373 saved_thread_ptr -> tx_thread_preempt_threshold = saved_threshold; in _tx_thread_resume()
518 saved_thread_ptr -> tx_thread_preempt_threshold = saved_threshold; in _tx_thread_resume()
Dtx_thread_create.c191 thread_ptr -> tx_thread_preempt_threshold = preempt_threshold; in _tx_thread_create()
201 thread_ptr -> tx_thread_preempt_threshold = ((UINT) 0); in _tx_thread_create()
208 thread_ptr -> tx_thread_preempt_threshold = priority; in _tx_thread_create()
310 saved_threshold = saved_thread_ptr -> tx_thread_preempt_threshold; in _tx_thread_create()
315 … saved_thread_ptr -> tx_thread_preempt_threshold = saved_thread_ptr -> tx_thread_priority; in _tx_thread_create()
353 saved_thread_ptr -> tx_thread_preempt_threshold = saved_threshold; in _tx_thread_create()
Dtx_thread_preemption_change.c117 …AD_PREEMPTION_CHANGE, thread_ptr, new_threshold, thread_ptr -> tx_thread_preempt_threshold, thread… in _tx_thread_preemption_change()
179 thread_ptr -> tx_thread_preempt_threshold = new_threshold; in _tx_thread_preemption_change()
185 thread_ptr -> tx_thread_preempt_threshold = thread_ptr -> tx_thread_inherit_priority; in _tx_thread_preemption_change()
205 … if (thread_ptr -> tx_thread_preempt_threshold != thread_ptr -> tx_thread_priority) in _tx_thread_preemption_change()
Dtx_thread_time_slice.c131 if (thread_ptr -> tx_thread_priority == thread_ptr -> tx_thread_preempt_threshold) in _tx_thread_time_slice()
Dtx_thread_system_resume.c246 if (priority < execute_ptr -> tx_thread_preempt_threshold) in _tx_thread_system_resume()
252 … if (execute_ptr -> tx_thread_preempt_threshold != execute_ptr -> tx_thread_priority) in _tx_thread_system_resume()
767 if (priority < execute_ptr -> tx_thread_preempt_threshold)
773 … if (execute_ptr -> tx_thread_preempt_threshold != execute_ptr -> tx_thread_priority)
Dtx_thread_system_suspend.c463 …_tx_thread_highest_priority >= (_tx_thread_priority_list[priority] -> tx_thread_preempt_threshold)) in _tx_thread_system_suspend()
1038 …_tx_thread_highest_priority >= (_tx_thread_priority_list[priority] -> tx_thread_preempt_threshold))
Dtx_thread_suspend.c599 …_tx_thread_highest_priority >= (_tx_thread_priority_list[priority] -> tx_thread_preempt_threshold)) in _tx_thread_suspend()
/ThreadX-v6.3.0/common_smp/src/
Dtx_mutex_priority_change.c119 if (thread_ptr -> tx_thread_preempt_threshold == new_priority) in _tx_mutex_priority_change()
146 … thread_ptr -> tx_thread_preempt_threshold = thread_ptr -> tx_thread_user_preempt_threshold; in _tx_mutex_priority_change()
152 thread_ptr -> tx_thread_preempt_threshold = new_priority; in _tx_mutex_priority_change()
267 … thread_ptr -> tx_thread_preempt_threshold = thread_ptr -> tx_thread_user_preempt_threshold; in _tx_mutex_priority_change()
273 thread_ptr -> tx_thread_preempt_threshold = new_priority; in _tx_mutex_priority_change()
327 … thread_ptr -> tx_thread_preempt_threshold = thread_ptr -> tx_thread_user_preempt_threshold; in _tx_mutex_priority_change()
333 thread_ptr -> tx_thread_preempt_threshold = new_priority; in _tx_mutex_priority_change()
Dtx_thread_priority_change.c174 thread_ptr -> tx_thread_preempt_threshold = new_priority; in _tx_thread_priority_change()
181 … thread_ptr -> tx_thread_preempt_threshold = thread_ptr -> tx_thread_inherit_priority; in _tx_thread_priority_change()
293 thread_ptr -> tx_thread_preempt_threshold = new_priority; in _tx_thread_priority_change()
300 … thread_ptr -> tx_thread_preempt_threshold = thread_ptr -> tx_thread_inherit_priority; in _tx_thread_priority_change()
346 thread_ptr -> tx_thread_preempt_threshold = new_priority; in _tx_thread_priority_change()
353 … thread_ptr -> tx_thread_preempt_threshold = thread_ptr -> tx_thread_inherit_priority; in _tx_thread_priority_change()
Dtx_thread_preemption_change.c125 …AD_PREEMPTION_CHANGE, thread_ptr, new_threshold, thread_ptr -> tx_thread_preempt_threshold, thread… in _tx_thread_preemption_change()
154 thread_ptr -> tx_thread_preempt_threshold = new_threshold; in _tx_thread_preemption_change()
160 thread_ptr -> tx_thread_preempt_threshold = thread_ptr -> tx_thread_inherit_priority; in _tx_thread_preemption_change()
Dtx_thread_smp_rebalance_execute_list.c193 if (next_priority >= preempted_thread -> tx_thread_preempt_threshold) in _tx_thread_smp_rebalance_execute_list()
276 … if (schedule_thread -> tx_thread_preempt_threshold < schedule_thread -> tx_thread_priority) in _tx_thread_smp_rebalance_execute_list()
283 … if ((last_priority >= schedule_thread -> tx_thread_preempt_threshold) && (i != ((UINT) 0))) in _tx_thread_smp_rebalance_execute_list()
484 … if (schedule_thread -> tx_thread_preempt_threshold < schedule_thread -> tx_thread_priority) in _tx_thread_smp_rebalance_execute_list()
Dtx_thread_create.c205 thread_ptr -> tx_thread_preempt_threshold = preempt_threshold; in _tx_thread_create()
215 thread_ptr -> tx_thread_preempt_threshold = ((UINT) 0); in _tx_thread_create()
222 thread_ptr -> tx_thread_preempt_threshold = priority; in _tx_thread_create()
Dtx_thread_relinquish.c204 else if (thread_ptr -> tx_thread_preempt_threshold == priority) in _tx_thread_relinquish()
218 … if ((next_thread -> tx_thread_preempt_threshold < next_thread -> tx_thread_priority) || in _tx_thread_relinquish()
329 if (thread_ptr -> tx_thread_preempt_threshold < priority) in _tx_thread_relinquish()
Dtx_thread_time_slice.c182 if (priority == thread_ptr -> tx_thread_preempt_threshold) in _tx_thread_time_slice()
253 … if (next_thread -> tx_thread_preempt_threshold < next_thread -> tx_thread_priority) in _tx_thread_time_slice()
Dtx_thread_system_resume.c403 … if (priority >= _tx_thread_preemption__threshold_scheduled -> tx_thread_preempt_threshold) in _tx_thread_system_resume()
438 if (thread_ptr -> tx_thread_preempt_threshold < priority) in _tx_thread_system_resume()
465 if (priority < execute_thread -> tx_thread_preempt_threshold) in _tx_thread_system_resume()
Dtx_thread_system_suspend.c329 if (thread_ptr -> tx_thread_preempt_threshold < priority) in _tx_thread_system_suspend()
627 …_preemption__threshold_scheduled != TX_NULL) || (thread_ptr -> tx_thread_preempt_threshold < threa… in _tx_thread_system_suspend()
722 … if (next_thread -> tx_thread_preempt_threshold != next_thread -> tx_thread_priority) in _tx_thread_system_suspend()
Dtx_thread_smp_debug_entry_insert.c182 …eshold = (entry_ptr -> tx_thread_smp_debug_entry_current_thread) -> tx_thread_preempt_threshold; in _tx_thread_smp_debug_entry_insert()
Dtx_thread_smp_utilities.c1067 thread_ptr -> tx_thread_preempt_threshold = new_priority; in _tx_thread_smp_simple_priority_change()
1074 thread_ptr -> tx_thread_preempt_threshold = thread_ptr -> tx_thread_inherit_priority; in _tx_thread_smp_simple_priority_change()
/ThreadX-v6.3.0/common_modules/module_manager/src/
Dtxm_module_manager_thread_create.c409 thread_ptr -> tx_thread_preempt_threshold = preempt_threshold; in _txm_module_manager_thread_create()
419 thread_ptr -> tx_thread_preempt_threshold = ((UINT) 0); in _txm_module_manager_thread_create()
426 thread_ptr -> tx_thread_preempt_threshold = priority; in _txm_module_manager_thread_create()
681 saved_threshold = saved_thread_ptr -> tx_thread_preempt_threshold; in _txm_module_manager_thread_create()
686 … saved_thread_ptr -> tx_thread_preempt_threshold = saved_thread_ptr -> tx_thread_priority; in _txm_module_manager_thread_create()
724 saved_thread_ptr -> tx_thread_preempt_threshold = saved_threshold; in _txm_module_manager_thread_create()
/ThreadX-v6.3.0/test/tx/regression/
Dthreadx_thread_preemption_change_test.c286 …reshold != 0) || (thread_0.tx_thread_priority != 5) || (thread_0.tx_thread_preempt_threshold != 5)) in thread_0_entry()
298 …= TX_SUCCESS) || (thread_0.tx_thread_priority != 7) || (thread_0.tx_thread_preempt_threshold != 7)) in thread_0_entry()
/ThreadX-v6.3.0/test/smp/regression/
Dthreadx_thread_preemption_change_test.c286 …reshold != 0) || (thread_0.tx_thread_priority != 5) || (thread_0.tx_thread_preempt_threshold != 5)) in thread_0_entry()
308 …= TX_SUCCESS) || (thread_0.tx_thread_priority != 7) || (thread_0.tx_thread_preempt_threshold != 7)) in thread_0_entry()
Dthreadx_mutex_suspension_timeout_test.c381 thread_0.tx_thread_preempt_threshold = 30; in thread_0_entry()
386 thread_0.tx_thread_preempt_threshold = 31; in thread_0_entry()
/ThreadX-v6.3.0/common/inc/
Dtx_trace.h482 …iority = trace_priority | 0x80000000UL | (trace_thread_ptr -> tx_thread_preempt_threshold << 16);…

12