Home
last modified time | relevance | path

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

12

/ThreadX-v6.4.1/common/src/
Dtx_mutex_priority_change.c124 … thread_ptr -> tx_thread_preempt_threshold = thread_ptr -> tx_thread_user_preempt_threshold; in _tx_mutex_priority_change()
130 thread_ptr -> tx_thread_preempt_threshold = new_priority; in _tx_mutex_priority_change()
169 … thread_ptr -> tx_thread_preempt_threshold = thread_ptr -> tx_thread_user_preempt_threshold; in _tx_mutex_priority_change()
175 thread_ptr -> tx_thread_preempt_threshold = new_priority; in _tx_mutex_priority_change()
218 … thread_ptr -> tx_thread_preempt_threshold = thread_ptr -> tx_thread_user_preempt_threshold; in _tx_mutex_priority_change()
224 thread_ptr -> tx_thread_preempt_threshold = new_priority; in _tx_mutex_priority_change()
281 … if (thread_ptr -> tx_thread_preempt_threshold < thread_ptr -> tx_thread_priority) in _tx_mutex_priority_change()
287 … if (thread_ptr -> tx_thread_preempt_threshold <= next_execute_ptr -> tx_thread_priority) in _tx_mutex_priority_change()
Dtx_thread_priority_change.c126 thread_ptr -> tx_thread_preempt_threshold = new_priority; in _tx_thread_priority_change()
133 thread_ptr -> tx_thread_preempt_threshold = thread_ptr -> tx_thread_inherit_priority; in _tx_thread_priority_change()
173 thread_ptr -> tx_thread_preempt_threshold = new_priority; in _tx_thread_priority_change()
180 thread_ptr -> tx_thread_preempt_threshold = thread_ptr -> tx_thread_inherit_priority; in _tx_thread_priority_change()
219 thread_ptr -> tx_thread_preempt_threshold = new_priority; in _tx_thread_priority_change()
226 thread_ptr -> tx_thread_preempt_threshold = thread_ptr -> tx_thread_inherit_priority; in _tx_thread_priority_change()
Dtx_thread_resume.c142 saved_threshold = saved_thread_ptr -> tx_thread_preempt_threshold; in _tx_thread_resume()
147 … saved_thread_ptr -> tx_thread_preempt_threshold = saved_thread_ptr -> tx_thread_priority; in _tx_thread_resume()
184 saved_thread_ptr -> tx_thread_preempt_threshold = saved_threshold; in _tx_thread_resume()
304 if (priority < execute_ptr -> tx_thread_preempt_threshold) in _tx_thread_resume()
310 … if (execute_ptr -> tx_thread_preempt_threshold != execute_ptr -> tx_thread_priority) in _tx_thread_resume()
372 saved_thread_ptr -> tx_thread_preempt_threshold = saved_threshold; in _tx_thread_resume()
517 saved_thread_ptr -> tx_thread_preempt_threshold = saved_threshold; in _tx_thread_resume()
Dtx_thread_create.c190 thread_ptr -> tx_thread_preempt_threshold = preempt_threshold; in _tx_thread_create()
200 thread_ptr -> tx_thread_preempt_threshold = ((UINT) 0); in _tx_thread_create()
207 thread_ptr -> tx_thread_preempt_threshold = priority; in _tx_thread_create()
309 saved_threshold = saved_thread_ptr -> tx_thread_preempt_threshold; in _tx_thread_create()
314 … saved_thread_ptr -> tx_thread_preempt_threshold = saved_thread_ptr -> tx_thread_priority; in _tx_thread_create()
352 saved_thread_ptr -> tx_thread_preempt_threshold = saved_threshold; in _tx_thread_create()
Dtx_thread_preemption_change.c116 …AD_PREEMPTION_CHANGE, thread_ptr, new_threshold, thread_ptr -> tx_thread_preempt_threshold, thread… in _tx_thread_preemption_change()
178 thread_ptr -> tx_thread_preempt_threshold = new_threshold; in _tx_thread_preemption_change()
184 thread_ptr -> tx_thread_preempt_threshold = thread_ptr -> tx_thread_inherit_priority; in _tx_thread_preemption_change()
204 … if (thread_ptr -> tx_thread_preempt_threshold != thread_ptr -> tx_thread_priority) in _tx_thread_preemption_change()
Dtx_thread_time_slice.c130 if (thread_ptr -> tx_thread_priority == thread_ptr -> tx_thread_preempt_threshold) in _tx_thread_time_slice()
Dtx_thread_system_resume.c245 if (priority < execute_ptr -> tx_thread_preempt_threshold) in _tx_thread_system_resume()
251 … if (execute_ptr -> tx_thread_preempt_threshold != execute_ptr -> tx_thread_priority) in _tx_thread_system_resume()
766 if (priority < execute_ptr -> tx_thread_preempt_threshold)
772 … if (execute_ptr -> tx_thread_preempt_threshold != execute_ptr -> tx_thread_priority)
Dtx_thread_system_suspend.c462 …_tx_thread_highest_priority >= (_tx_thread_priority_list[priority] -> tx_thread_preempt_threshold)) in _tx_thread_system_suspend()
1037 …_tx_thread_highest_priority >= (_tx_thread_priority_list[priority] -> tx_thread_preempt_threshold))
Dtx_thread_suspend.c598 …_tx_thread_highest_priority >= (_tx_thread_priority_list[priority] -> tx_thread_preempt_threshold)) in _tx_thread_suspend()
/ThreadX-v6.4.1/common_smp/src/
Dtx_mutex_priority_change.c118 if (thread_ptr -> tx_thread_preempt_threshold == new_priority) in _tx_mutex_priority_change()
145 … thread_ptr -> tx_thread_preempt_threshold = thread_ptr -> tx_thread_user_preempt_threshold; in _tx_mutex_priority_change()
151 thread_ptr -> tx_thread_preempt_threshold = new_priority; in _tx_mutex_priority_change()
266 … thread_ptr -> tx_thread_preempt_threshold = thread_ptr -> tx_thread_user_preempt_threshold; in _tx_mutex_priority_change()
272 thread_ptr -> tx_thread_preempt_threshold = new_priority; in _tx_mutex_priority_change()
326 … thread_ptr -> tx_thread_preempt_threshold = thread_ptr -> tx_thread_user_preempt_threshold; in _tx_mutex_priority_change()
332 thread_ptr -> tx_thread_preempt_threshold = new_priority; in _tx_mutex_priority_change()
Dtx_thread_priority_change.c173 thread_ptr -> tx_thread_preempt_threshold = new_priority; in _tx_thread_priority_change()
180 … thread_ptr -> tx_thread_preempt_threshold = thread_ptr -> tx_thread_inherit_priority; in _tx_thread_priority_change()
292 thread_ptr -> tx_thread_preempt_threshold = new_priority; in _tx_thread_priority_change()
299 … thread_ptr -> tx_thread_preempt_threshold = thread_ptr -> tx_thread_inherit_priority; in _tx_thread_priority_change()
345 thread_ptr -> tx_thread_preempt_threshold = new_priority; in _tx_thread_priority_change()
352 … thread_ptr -> tx_thread_preempt_threshold = thread_ptr -> tx_thread_inherit_priority; in _tx_thread_priority_change()
Dtx_thread_preemption_change.c124 …AD_PREEMPTION_CHANGE, thread_ptr, new_threshold, thread_ptr -> tx_thread_preempt_threshold, thread… in _tx_thread_preemption_change()
153 thread_ptr -> tx_thread_preempt_threshold = new_threshold; in _tx_thread_preemption_change()
159 thread_ptr -> tx_thread_preempt_threshold = thread_ptr -> tx_thread_inherit_priority; in _tx_thread_preemption_change()
Dtx_thread_smp_rebalance_execute_list.c192 if (next_priority >= preempted_thread -> tx_thread_preempt_threshold) in _tx_thread_smp_rebalance_execute_list()
275 … if (schedule_thread -> tx_thread_preempt_threshold < schedule_thread -> tx_thread_priority) in _tx_thread_smp_rebalance_execute_list()
282 … if ((last_priority >= schedule_thread -> tx_thread_preempt_threshold) && (i != ((UINT) 0))) in _tx_thread_smp_rebalance_execute_list()
483 … if (schedule_thread -> tx_thread_preempt_threshold < schedule_thread -> tx_thread_priority) in _tx_thread_smp_rebalance_execute_list()
Dtx_thread_create.c204 thread_ptr -> tx_thread_preempt_threshold = preempt_threshold; in _tx_thread_create()
214 thread_ptr -> tx_thread_preempt_threshold = ((UINT) 0); in _tx_thread_create()
221 thread_ptr -> tx_thread_preempt_threshold = priority; in _tx_thread_create()
Dtx_thread_relinquish.c203 else if (thread_ptr -> tx_thread_preempt_threshold == priority) in _tx_thread_relinquish()
217 … if ((next_thread -> tx_thread_preempt_threshold < next_thread -> tx_thread_priority) || in _tx_thread_relinquish()
328 if (thread_ptr -> tx_thread_preempt_threshold < priority) in _tx_thread_relinquish()
Dtx_thread_time_slice.c181 if (priority == thread_ptr -> tx_thread_preempt_threshold) in _tx_thread_time_slice()
252 … if (next_thread -> tx_thread_preempt_threshold < next_thread -> tx_thread_priority) in _tx_thread_time_slice()
Dtx_thread_system_resume.c402 … if (priority >= _tx_thread_preemption__threshold_scheduled -> tx_thread_preempt_threshold) in _tx_thread_system_resume()
437 if (thread_ptr -> tx_thread_preempt_threshold < priority) in _tx_thread_system_resume()
464 if (priority < execute_thread -> tx_thread_preempt_threshold) in _tx_thread_system_resume()
Dtx_thread_system_suspend.c328 if (thread_ptr -> tx_thread_preempt_threshold < priority) in _tx_thread_system_suspend()
626 …_preemption__threshold_scheduled != TX_NULL) || (thread_ptr -> tx_thread_preempt_threshold < threa… in _tx_thread_system_suspend()
721 … if (next_thread -> tx_thread_preempt_threshold != next_thread -> tx_thread_priority) in _tx_thread_system_suspend()
Dtx_thread_smp_debug_entry_insert.c181 …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.c1066 thread_ptr -> tx_thread_preempt_threshold = new_priority; in _tx_thread_smp_simple_priority_change()
1073 thread_ptr -> tx_thread_preempt_threshold = thread_ptr -> tx_thread_inherit_priority; in _tx_thread_smp_simple_priority_change()
/ThreadX-v6.4.1/common_modules/module_manager/src/
Dtxm_module_manager_thread_create.c408 thread_ptr -> tx_thread_preempt_threshold = preempt_threshold; in _txm_module_manager_thread_create()
418 thread_ptr -> tx_thread_preempt_threshold = ((UINT) 0); in _txm_module_manager_thread_create()
425 thread_ptr -> tx_thread_preempt_threshold = priority; in _txm_module_manager_thread_create()
680 saved_threshold = saved_thread_ptr -> tx_thread_preempt_threshold; in _txm_module_manager_thread_create()
685 … saved_thread_ptr -> tx_thread_preempt_threshold = saved_thread_ptr -> tx_thread_priority; in _txm_module_manager_thread_create()
723 saved_thread_ptr -> tx_thread_preempt_threshold = saved_threshold; in _txm_module_manager_thread_create()
/ThreadX-v6.4.1/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.4.1/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.4.1/common/inc/
Dtx_trace.h481 …iority = trace_priority | 0x80000000UL | (trace_thread_ptr -> tx_thread_preempt_threshold << 16);…

12