Home
last modified time | relevance | path

Searched refs:tx_thread_priority (Results 1 – 25 of 83) sorted by relevance

1234

/ThreadX-v6.4.1/common/src/
Dtx_mutex_priority_change.c117 thread_ptr -> tx_thread_priority = new_priority; in _tx_mutex_priority_change()
145 original_priority = thread_ptr -> tx_thread_priority; in _tx_mutex_priority_change()
162 thread_ptr -> tx_thread_priority = new_priority; in _tx_mutex_priority_change()
211 thread_ptr -> tx_thread_priority = new_priority; in _tx_mutex_priority_change()
255 if (thread_ptr -> tx_thread_priority <= next_execute_ptr -> tx_thread_priority) in _tx_mutex_priority_change()
273 … _tx_thread_priority_list[thread_ptr -> tx_thread_priority] = thread_ptr; 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()
299 … _tx_thread_priority_list[thread_ptr -> tx_thread_priority] = thread_ptr; in _tx_mutex_priority_change()
314 map_index = (thread_ptr -> tx_thread_priority)/ ((UINT) 32); in _tx_mutex_priority_change()
[all …]
Dtx_mutex_get.c130 mutex_ptr -> tx_mutex_original_priority = thread_ptr -> tx_thread_priority; in _tx_mutex_get()
224 if (thread_ptr -> tx_thread_priority < mutex_owner -> tx_thread_priority) in _tx_mutex_get()
296 … if (mutex_ptr -> tx_mutex_highest_priority_waiting > thread_ptr -> tx_thread_priority) in _tx_mutex_get()
300 … mutex_ptr -> tx_mutex_highest_priority_waiting = thread_ptr -> tx_thread_priority; in _tx_mutex_get()
304 … if (thread_ptr -> tx_thread_priority < mutex_owner -> tx_thread_inherit_priority) in _tx_mutex_get()
308 … mutex_owner -> tx_thread_inherit_priority = thread_ptr -> tx_thread_priority; in _tx_mutex_get()
312 if (mutex_owner -> tx_thread_priority > thread_ptr -> tx_thread_priority) in _tx_mutex_get()
317 _tx_mutex_priority_change(mutex_owner, thread_ptr -> tx_thread_priority); in _tx_mutex_get()
355 … if (mutex_ptr -> tx_mutex_highest_priority_waiting > thread_ptr -> tx_thread_priority) in _tx_mutex_get()
359 … mutex_ptr -> tx_mutex_highest_priority_waiting = thread_ptr -> tx_thread_priority; in _tx_mutex_get()
[all …]
Dtx_thread_priority_change.c105 …CE_THREAD_PRIORITY_CHANGE, thread_ptr, new_priority, thread_ptr -> tx_thread_priority, thread_ptr … in _tx_thread_priority_change()
125 thread_ptr -> tx_thread_priority = new_priority; in _tx_thread_priority_change()
132 thread_ptr -> tx_thread_priority = thread_ptr -> tx_thread_inherit_priority; in _tx_thread_priority_change()
149 original_priority = thread_ptr -> tx_thread_priority; in _tx_thread_priority_change()
172 thread_ptr -> tx_thread_priority = new_priority; in _tx_thread_priority_change()
179 thread_ptr -> tx_thread_priority = thread_ptr -> tx_thread_inherit_priority; in _tx_thread_priority_change()
218 thread_ptr -> tx_thread_priority = new_priority; in _tx_thread_priority_change()
225 thread_ptr -> tx_thread_priority = thread_ptr -> tx_thread_inherit_priority; in _tx_thread_priority_change()
251 if (thread_ptr -> tx_thread_priority <= next_execute_ptr -> tx_thread_priority) in _tx_thread_priority_change()
269 … _tx_thread_priority_list[thread_ptr -> tx_thread_priority] = thread_ptr; in _tx_thread_priority_change()
Dtx_thread_preemption_change.c138 if (_tx_thread_priority_list[thread_ptr -> tx_thread_priority] == thread_ptr) in _tx_thread_preemption_change()
144 map_index = (thread_ptr -> tx_thread_priority)/((UINT) 32); in _tx_thread_preemption_change()
149 TX_MOD32_BIT_SET(thread_ptr -> tx_thread_priority, priority_bit) in _tx_thread_preemption_change()
159 TX_DIV32_BIT_SET(thread_ptr -> tx_thread_priority, priority_bit) in _tx_thread_preemption_change()
188 if (_tx_thread_highest_priority < thread_ptr -> tx_thread_priority) in _tx_thread_preemption_change()
204 … if (thread_ptr -> tx_thread_preempt_threshold != thread_ptr -> tx_thread_priority) in _tx_thread_preemption_change()
210 map_index = (thread_ptr -> tx_thread_priority)/((UINT) 32); in _tx_thread_preemption_change()
213 TX_DIV32_BIT_SET(thread_ptr -> tx_thread_priority, priority_bit) in _tx_thread_preemption_change()
218 TX_MOD32_BIT_SET(thread_ptr -> tx_thread_priority, priority_bit) in _tx_thread_preemption_change()
Dtx_block_pool_prioritize.c117 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_block_pool_prioritize()
150 if (thread_ptr -> tx_thread_priority < priority_thread_ptr -> tx_thread_priority) in _tx_block_pool_prioritize()
Dtx_byte_pool_prioritize.c117 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_byte_pool_prioritize()
150 if (thread_ptr -> tx_thread_priority < priority_thread_ptr -> tx_thread_priority) in _tx_byte_pool_prioritize()
Dtx_queue_prioritize.c117 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_queue_prioritize()
150 if (thread_ptr -> tx_thread_priority < priority_thread_ptr -> tx_thread_priority) in _tx_queue_prioritize()
Dtx_semaphore_prioritize.c117 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_semaphore_prioritize()
150 if (thread_ptr -> tx_thread_priority < priority_thread_ptr -> tx_thread_priority) in _tx_semaphore_prioritize()
Dtx_mutex_prioritize.c120 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_mutex_prioritize()
153 if (thread_ptr -> tx_thread_priority < priority_thread_ptr -> tx_thread_priority) in _tx_mutex_prioritize()
Dtx_thread_resume.c147 … saved_thread_ptr -> tx_thread_preempt_threshold = saved_thread_ptr -> tx_thread_priority; in _tx_thread_resume()
236 priority = thread_ptr -> tx_thread_priority; in _tx_thread_resume()
310 … if (execute_ptr -> tx_thread_preempt_threshold != execute_ptr -> tx_thread_priority) in _tx_thread_resume()
316 map_index = (execute_ptr -> tx_thread_priority)/((UINT) 32); in _tx_thread_resume()
319 TX_DIV32_BIT_SET(execute_ptr -> tx_thread_priority, priority_bit) in _tx_thread_resume()
324 TX_MOD32_BIT_SET(execute_ptr -> tx_thread_priority, priority_bit) in _tx_thread_resume()
Dtx_thread_system_resume.c177 priority = thread_ptr -> tx_thread_priority; in _tx_thread_system_resume()
251 … if (execute_ptr -> tx_thread_preempt_threshold != execute_ptr -> tx_thread_priority) in _tx_thread_system_resume()
257 map_index = (execute_ptr -> tx_thread_priority)/((UINT) 32); in _tx_thread_system_resume()
260 … TX_DIV32_BIT_SET(execute_ptr -> tx_thread_priority, priority_bit) in _tx_thread_system_resume()
265 … TX_MOD32_BIT_SET(execute_ptr -> tx_thread_priority, priority_bit) in _tx_thread_system_resume()
706 priority = thread_ptr -> tx_thread_priority;
772 … if (execute_ptr -> tx_thread_preempt_threshold != execute_ptr -> tx_thread_priority)
778 map_index = (execute_ptr -> tx_thread_priority)/((UINT) 32);
781 TX_DIV32_BIT_SET(execute_ptr -> tx_thread_priority, priority_bit)
786 TX_MOD32_BIT_SET(execute_ptr -> tx_thread_priority, priority_bit)
/ThreadX-v6.4.1/common_smp/src/
Dtx_mutex_get.c130 mutex_ptr -> tx_mutex_original_priority = thread_ptr -> tx_thread_priority; in _tx_mutex_get()
224 if (thread_ptr -> tx_thread_priority < mutex_owner -> tx_thread_priority) in _tx_mutex_get()
296 … if (mutex_ptr -> tx_mutex_highest_priority_waiting > thread_ptr -> tx_thread_priority) in _tx_mutex_get()
300 … mutex_ptr -> tx_mutex_highest_priority_waiting = thread_ptr -> tx_thread_priority; in _tx_mutex_get()
304 … if (thread_ptr -> tx_thread_priority < mutex_owner -> tx_thread_inherit_priority) in _tx_mutex_get()
308 … mutex_owner -> tx_thread_inherit_priority = thread_ptr -> tx_thread_priority; in _tx_mutex_get()
312 if (mutex_owner -> tx_thread_priority > thread_ptr -> tx_thread_priority) in _tx_mutex_get()
317 _tx_mutex_priority_change(mutex_owner, thread_ptr -> tx_thread_priority); in _tx_mutex_get()
355 … if (mutex_ptr -> tx_mutex_highest_priority_waiting > thread_ptr -> tx_thread_priority) in _tx_mutex_get()
359 … mutex_ptr -> tx_mutex_highest_priority_waiting = thread_ptr -> tx_thread_priority; in _tx_mutex_get()
[all …]
Dtx_mutex_priority_change.c115 if (thread_ptr -> tx_thread_priority == new_priority) in _tx_mutex_priority_change()
138 thread_ptr -> tx_thread_priority = new_priority; in _tx_mutex_priority_change()
162 original_priority = thread_ptr -> tx_thread_priority; in _tx_mutex_priority_change()
175 if (new_priority < thread_ptr -> tx_thread_priority) in _tx_mutex_priority_change()
198 if (new_priority > thread_ptr -> tx_thread_priority) in _tx_mutex_priority_change()
252 thread_ptr -> tx_thread_priority = thread_ptr -> tx_thread_user_priority; in _tx_mutex_priority_change()
258 thread_ptr -> tx_thread_priority = new_priority; in _tx_mutex_priority_change()
312 thread_ptr -> tx_thread_priority = thread_ptr -> tx_thread_user_priority; in _tx_mutex_priority_change()
318 thread_ptr -> tx_thread_priority = new_priority; in _tx_mutex_priority_change()
361 … if (_tx_thread_preemption_threshold_list[thread_ptr -> tx_thread_priority] == TX_NULL) in _tx_mutex_priority_change()
[all …]
Dtx_thread_priority_change.c112 …CE_THREAD_PRIORITY_CHANGE, thread_ptr, new_priority, thread_ptr -> tx_thread_priority, thread_ptr … in _tx_thread_priority_change()
172 thread_ptr -> tx_thread_priority = new_priority; in _tx_thread_priority_change()
179 … thread_ptr -> tx_thread_priority = thread_ptr -> tx_thread_inherit_priority; in _tx_thread_priority_change()
196 original_priority = thread_ptr -> tx_thread_priority; in _tx_thread_priority_change()
209 if ((new_priority < thread_ptr -> tx_thread_priority) && in _tx_thread_priority_change()
235 if ((new_priority > thread_ptr -> tx_thread_priority) && in _tx_thread_priority_change()
291 thread_ptr -> tx_thread_priority = new_priority; in _tx_thread_priority_change()
298 … thread_ptr -> tx_thread_priority = thread_ptr -> tx_thread_inherit_priority; in _tx_thread_priority_change()
344 thread_ptr -> tx_thread_priority = new_priority; in _tx_thread_priority_change()
351 … thread_ptr -> tx_thread_priority = thread_ptr -> tx_thread_inherit_priority; in _tx_thread_priority_change()
[all …]
Dtx_thread_smp_utilities.c554 if (thread_ptr -> tx_thread_priority > lowest_priority) in _tx_thread_smp_lowest_priority_get()
556 lowest_priority = thread_ptr -> tx_thread_priority; in _tx_thread_smp_lowest_priority_get()
563 if (thread_ptr -> tx_thread_priority > lowest_priority) in _tx_thread_smp_lowest_priority_get()
565 lowest_priority = thread_ptr -> tx_thread_priority; in _tx_thread_smp_lowest_priority_get()
572 if (thread_ptr -> tx_thread_priority > lowest_priority) in _tx_thread_smp_lowest_priority_get()
574 lowest_priority = thread_ptr -> tx_thread_priority; in _tx_thread_smp_lowest_priority_get()
581 if (thread_ptr -> tx_thread_priority > lowest_priority) in _tx_thread_smp_lowest_priority_get()
583 lowest_priority = thread_ptr -> tx_thread_priority; in _tx_thread_smp_lowest_priority_get()
590 if (thread_ptr -> tx_thread_priority > lowest_priority) in _tx_thread_smp_lowest_priority_get()
592 lowest_priority = thread_ptr -> tx_thread_priority; in _tx_thread_smp_lowest_priority_get()
[all …]
Dtx_thread_preemption_change.c175 … if (_tx_thread_preemption_threshold_list[thread_ptr -> tx_thread_priority] == thread_ptr) in _tx_thread_preemption_change()
179 … _tx_thread_preemption_threshold_list[thread_ptr -> tx_thread_priority] = TX_NULL; in _tx_thread_preemption_change()
184 map_index = (thread_ptr -> tx_thread_priority)/((UINT) 32); in _tx_thread_preemption_change()
189 TX_MOD32_BIT_SET(thread_ptr -> tx_thread_priority, priority_bit) in _tx_thread_preemption_change()
199 TX_DIV32_BIT_SET(thread_ptr -> tx_thread_priority, priority_bit) in _tx_thread_preemption_change()
Dtx_thread_smp_rebalance_execute_list.c196 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()
275 … if (schedule_thread -> tx_thread_preempt_threshold < schedule_thread -> tx_thread_priority) 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()
492 map_index = (schedule_thread -> tx_thread_priority)/((UINT) 32); in _tx_thread_smp_rebalance_execute_list()
495 TX_DIV32_BIT_SET(schedule_thread -> tx_thread_priority, priority_bit) in _tx_thread_smp_rebalance_execute_list()
500 TX_MOD32_BIT_SET(schedule_thread -> tx_thread_priority, priority_bit) in _tx_thread_smp_rebalance_execute_list()
504 … _tx_thread_preemption_threshold_list[schedule_thread -> tx_thread_priority] = schedule_thread; in _tx_thread_smp_rebalance_execute_list()
Dtx_block_pool_prioritize.c117 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_block_pool_prioritize()
150 if (thread_ptr -> tx_thread_priority < priority_thread_ptr -> tx_thread_priority) in _tx_block_pool_prioritize()
Dtx_byte_pool_prioritize.c117 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_byte_pool_prioritize()
150 if (thread_ptr -> tx_thread_priority < priority_thread_ptr -> tx_thread_priority) in _tx_byte_pool_prioritize()
Dtx_queue_prioritize.c117 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_queue_prioritize()
150 if (thread_ptr -> tx_thread_priority < priority_thread_ptr -> tx_thread_priority) in _tx_queue_prioritize()
Dtx_semaphore_prioritize.c117 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_semaphore_prioritize()
150 if (thread_ptr -> tx_thread_priority < priority_thread_ptr -> tx_thread_priority) in _tx_semaphore_prioritize()
Dtx_mutex_prioritize.c120 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_mutex_prioritize()
153 if (thread_ptr -> tx_thread_priority < priority_thread_ptr -> tx_thread_priority) in _tx_mutex_prioritize()
/ThreadX-v6.4.1/test/tx/regression/
Dthreadx_mutex_nested_priority_inheritance_test.c233 if (thread_0.tx_thread_priority != 4) in thread_0_entry()
250 if (thread_0.tx_thread_priority != 8) in thread_0_entry()
261 if (thread_0.tx_thread_priority != 15) in thread_0_entry()
272 if (thread_0.tx_thread_priority != 15) in thread_0_entry()
283 priority = thread_0.tx_thread_priority; in thread_0_entry()
287 if (thread_0.tx_thread_priority != priority) in thread_0_entry()
298 if (thread_0.tx_thread_priority != priority) in thread_0_entry()
309 if (thread_0.tx_thread_priority != 15) in thread_0_entry()
323 if (thread_0.tx_thread_priority != 8) in thread_0_entry()
334 if (thread_0.tx_thread_priority != 8) in thread_0_entry()
[all …]
/ThreadX-v6.4.1/test/smp/regression/
Dthreadx_mutex_nested_priority_inheritance_test.c233 if (thread_0.tx_thread_priority != 4) in thread_0_entry()
250 if (thread_0.tx_thread_priority != 8) in thread_0_entry()
261 if (thread_0.tx_thread_priority != 15) in thread_0_entry()
272 if (thread_0.tx_thread_priority != 15) in thread_0_entry()
283 priority = thread_0.tx_thread_priority; in thread_0_entry()
287 if (thread_0.tx_thread_priority != priority) in thread_0_entry()
298 if (thread_0.tx_thread_priority != priority) in thread_0_entry()
309 if (thread_0.tx_thread_priority != 15) in thread_0_entry()
323 if (thread_0.tx_thread_priority != 8) in thread_0_entry()
334 if (thread_0.tx_thread_priority != 8) in thread_0_entry()
[all …]
/ThreadX-v6.4.1/common_smp/inc/
Dtx_thread.h1079 if (thread_ptr -> tx_thread_priority > lowest_priority) in _tx_thread_smp_lowest_priority_get()
1081 lowest_priority = thread_ptr -> tx_thread_priority; in _tx_thread_smp_lowest_priority_get()
1088 if (thread_ptr -> tx_thread_priority > lowest_priority) in _tx_thread_smp_lowest_priority_get()
1090 lowest_priority = thread_ptr -> tx_thread_priority; in _tx_thread_smp_lowest_priority_get()
1097 if (thread_ptr -> tx_thread_priority > lowest_priority) in _tx_thread_smp_lowest_priority_get()
1099 lowest_priority = thread_ptr -> tx_thread_priority; in _tx_thread_smp_lowest_priority_get()
1106 if (thread_ptr -> tx_thread_priority > lowest_priority) in _tx_thread_smp_lowest_priority_get()
1108 lowest_priority = thread_ptr -> tx_thread_priority; in _tx_thread_smp_lowest_priority_get()
1115 if (thread_ptr -> tx_thread_priority > lowest_priority) in _tx_thread_smp_lowest_priority_get()
1117 lowest_priority = thread_ptr -> tx_thread_priority; in _tx_thread_smp_lowest_priority_get()
[all …]

1234