Home
last modified time | relevance | path

Searched refs:thread_3 (Results 1 – 25 of 274) sorted by relevance

1234567891011

/ThreadX-v6.3.0/test/tx/regression/
Dthreadx_thread_priority_change.c17 static TX_THREAD thread_3; variable
54 if ((thread_3.tx_thread_priority == 6) && in test_isr()
55 (thread_3.tx_thread_state == TX_READY) && in test_isr()
56 (_tx_thread_priority_list[6] != &thread_3) && in test_isr()
67 tx_thread_suspend(&thread_3); in test_isr()
135 status += tx_thread_create(&thread_3, "thread 3", thread_3_entry, 3, in test_application_define()
169 tx_thread_resume(&thread_3); in thread_0_entry()
362 tx_thread_priority_change(&thread_3, 6, &old_priority); in thread_3_entry()
363 tx_thread_priority_change(&thread_3, 5, &old_priority); in thread_3_entry()
Dthreadx_thread_multiple_suspension_test.c20 static TX_THREAD thread_3; variable
104 status = tx_thread_create(&thread_3, "thread 3", thread_3_entry, 1, in test_application_define()
215 tx_thread_suspend(&thread_3); in thread_3_entry()
245 (thread_2.tx_thread_state != TX_SUSPENDED) || (thread_3.tx_thread_state != TX_SUSPENDED) || in thread_5_entry()
270 (thread_2.tx_thread_state != TX_SUSPENDED) || (thread_3.tx_thread_state != TX_SUSPENDED) || in thread_5_entry()
294 (thread_2.tx_thread_state != TX_SUSPENDED) || (thread_3.tx_thread_state != TX_SUSPENDED) || in thread_5_entry()
318 (thread_2.tx_thread_state != TX_READY) || (thread_3.tx_thread_state != TX_SUSPENDED) || in thread_5_entry()
338 status = tx_thread_resume(&thread_3); in thread_5_entry()
342 (thread_2.tx_thread_state != TX_READY) || (thread_3.tx_thread_state != TX_READY) || in thread_5_entry()
366 (thread_2.tx_thread_state != TX_READY) || (thread_3.tx_thread_state != TX_READY) || in thread_5_entry()
[all …]
Dthreadx_thread_preemptable_suspension_test.c19 static TX_THREAD thread_3; variable
103 status = tx_thread_create(&thread_3, "thread 3", thread_3_entry, 1, in test_application_define()
214 tx_thread_suspend(&thread_3); in thread_3_entry()
244 (thread_2.tx_thread_state != TX_SUSPENDED) || (thread_3.tx_thread_state != TX_SUSPENDED) || in thread_5_entry()
269 (thread_2.tx_thread_state != TX_SUSPENDED) || (thread_3.tx_thread_state != TX_SUSPENDED) || in thread_5_entry()
293 (thread_2.tx_thread_state != TX_SUSPENDED) || (thread_3.tx_thread_state != TX_SUSPENDED) || in thread_5_entry()
317 (thread_2.tx_thread_state != TX_SUSPENDED) || (thread_3.tx_thread_state != TX_SUSPENDED) || in thread_5_entry()
337 status = tx_thread_resume(&thread_3); in thread_5_entry()
341 (thread_2.tx_thread_state != TX_SUSPENDED) || (thread_3.tx_thread_state != TX_SUSPENDED) || in thread_5_entry()
365 (thread_2.tx_thread_state != TX_SUSPENDED) || (thread_3.tx_thread_state != TX_SUSPENDED) || in thread_5_entry()
[all …]
Dthreadx_thread_terminate_delete_test.c18 static TX_THREAD thread_3; variable
58 if (thread_ptr != &thread_3) in entry_exit_notify3()
152 status = tx_thread_create(&thread_3, "thread 3", thread_3_entry, 3, in test_application_define()
166 status = tx_thread_entry_exit_notify(&thread_3, entry_exit_notify3); in test_application_define()
272 status = tx_thread_terminate(&thread_3); in thread_0_entry()
284 status = tx_thread_delete(&thread_3); in thread_0_entry()
Dthreadx_byte_memory_suspension_test.c13 static TX_THREAD thread_3; variable
52 tx_thread_wait_abort(&thread_3); in abort_and_resume_byte_allocating_thread()
53 tx_thread_resume(&thread_3); in abort_and_resume_byte_allocating_thread()
110 status += tx_thread_create(&thread_3, "thread 3", thread_3_entry, 3, in test_application_define()
250 tx_thread_resume(&thread_3); in thread_0_entry()
389 tx_thread_suspend(&thread_3); in thread_3_entry()
Dthreadx_mutex_proritize_test.c27 static TX_THREAD thread_3; variable
71 if (mutex_0.tx_mutex_suspension_list == &thread_3) in test_isr()
75 tx_thread_wait_abort(&thread_3); in test_isr()
149 status = tx_thread_create(&thread_3, "thread 3", thread_3_entry, 3, in test_application_define()
322 tx_thread_resume(&thread_3); in thread_0_entry()
331 if ((status != TX_SUCCESS) || (mutex_0.tx_mutex_suspension_list != &thread_3)) in thread_0_entry()
447 tx_thread_suspend(&thread_3); in thread_3_entry()
Dthreadx_byte_memory_prioritize_test.c27 static TX_THREAD thread_3; variable
69 if (byte_pool_0.tx_byte_pool_suspension_list == &thread_3) in test_isr()
73 tx_thread_wait_abort(&thread_3); in test_isr()
147 status = tx_thread_create(&thread_3, "thread 3", thread_3_entry, 3, in test_application_define()
303 tx_thread_resume(&thread_3); in thread_0_entry()
312 if ((status != TX_SUCCESS) || (byte_pool_0.tx_byte_pool_suspension_list != &thread_3)) in thread_0_entry()
Dthreadx_queue_prioritize.c26 static TX_THREAD thread_3; variable
76 if (queue_0.tx_queue_suspension_list == &thread_3) in test_isr()
80 tx_thread_wait_abort(&thread_3); in test_isr()
155 status = tx_thread_create(&thread_3, "thread 3", thread_3_entry, 3, in test_application_define()
342 tx_thread_resume(&thread_3); in thread_0_entry()
351 if ((status != TX_SUCCESS) || (queue_0.tx_queue_suspension_list != &thread_3)) in thread_0_entry()
Dthreadx_semaphore_prioritize.c27 static TX_THREAD thread_3; variable
70 if (semaphore_0.tx_semaphore_suspension_list == &thread_3) in test_isr()
74 tx_thread_wait_abort(&thread_3); in test_isr()
155 status = tx_thread_create(&thread_3, "thread 3", thread_3_entry, 3, in test_application_define()
341 tx_thread_resume(&thread_3); in thread_0_entry()
350 if ((status != TX_SUCCESS) || (semaphore_0.tx_semaphore_suspension_list != &thread_3)) in thread_0_entry()
Dthreadx_block_memory_prioritize_test.c28 static TX_THREAD thread_3; variable
71 if (block_pool_0.tx_block_pool_suspension_list == &thread_3) in test_isr()
75 tx_thread_wait_abort(&thread_3); in test_isr()
149 status = tx_thread_create(&thread_3, "thread 3", thread_3_entry, 3, in test_application_define()
306 tx_thread_resume(&thread_3); in thread_0_entry()
315 if ((status != TX_SUCCESS) || (block_pool_0.tx_block_pool_suspension_list != &thread_3)) in thread_0_entry()
/ThreadX-v6.3.0/test/smp/regression/
Dthreadx_thread_multiple_suspension_test.c20 static TX_THREAD thread_3; variable
104 status = tx_thread_create(&thread_3, "thread 3", thread_3_entry, 1, in test_application_define()
215 tx_thread_suspend(&thread_3); in thread_3_entry()
245 (thread_2.tx_thread_state != TX_SUSPENDED) || (thread_3.tx_thread_state != TX_SUSPENDED) || in thread_5_entry()
270 (thread_2.tx_thread_state != TX_SUSPENDED) || (thread_3.tx_thread_state != TX_SUSPENDED) || in thread_5_entry()
294 (thread_2.tx_thread_state != TX_SUSPENDED) || (thread_3.tx_thread_state != TX_SUSPENDED) || in thread_5_entry()
318 (thread_2.tx_thread_state != TX_READY) || (thread_3.tx_thread_state != TX_SUSPENDED) || in thread_5_entry()
338 status = tx_thread_resume(&thread_3); in thread_5_entry()
342 (thread_2.tx_thread_state != TX_READY) || (thread_3.tx_thread_state != TX_READY) || in thread_5_entry()
366 (thread_2.tx_thread_state != TX_READY) || (thread_3.tx_thread_state != TX_READY) || in thread_5_entry()
[all …]
Dthreadx_thread_preemptable_suspension_test.c19 static TX_THREAD thread_3; variable
103 status = tx_thread_create(&thread_3, "thread 3", thread_3_entry, 1, in test_application_define()
214 tx_thread_suspend(&thread_3); in thread_3_entry()
244 (thread_2.tx_thread_state != TX_SUSPENDED) || (thread_3.tx_thread_state != TX_SUSPENDED) || in thread_5_entry()
269 (thread_2.tx_thread_state != TX_SUSPENDED) || (thread_3.tx_thread_state != TX_SUSPENDED) || in thread_5_entry()
293 (thread_2.tx_thread_state != TX_SUSPENDED) || (thread_3.tx_thread_state != TX_SUSPENDED) || in thread_5_entry()
317 (thread_2.tx_thread_state != TX_SUSPENDED) || (thread_3.tx_thread_state != TX_SUSPENDED) || in thread_5_entry()
337 status = tx_thread_resume(&thread_3); in thread_5_entry()
341 (thread_2.tx_thread_state != TX_SUSPENDED) || (thread_3.tx_thread_state != TX_SUSPENDED) || in thread_5_entry()
365 (thread_2.tx_thread_state != TX_SUSPENDED) || (thread_3.tx_thread_state != TX_SUSPENDED) || in thread_5_entry()
[all …]
Dthreadx_smp_non_trivial_scheduling_test.c11 static TX_THREAD thread_3; variable
102 status = tx_thread_create(&thread_3, "thread 3", thread_3_entry, 3, in test_application_define()
106 status += tx_thread_smp_core_exclude(&thread_3, 0xE); /* Exclude core 0 */ in test_application_define()
181 status = tx_thread_resume(&thread_3); in thread_0_entry()
197 …if ((status != TX_SUCCESS) || (_tx_thread_execute_ptr[0] != &thread_3) || (_tx_thread_execute_ptr[… in thread_0_entry()
207 status = tx_thread_suspend(&thread_3); in thread_0_entry()
211 status += tx_thread_preemption_change(&thread_3, 2, &original_threshold); in thread_0_entry()
258 status = tx_thread_resume(&thread_3); in thread_0_entry()
277 …if ((status != TX_SUCCESS) || (_tx_thread_execute_ptr[0] != &thread_3) || (_tx_thread_execute_ptr[… in thread_0_entry()
292 status = tx_thread_suspend(&thread_3); in thread_0_entry()
Dthreadx_smp_resume_suspend_accending_order_test.c12 static TX_THREAD thread_3; variable
131 status = tx_thread_create(&thread_3, "thread 3", thread_entry, 3, in test_application_define()
135 status += tx_thread_smp_core_exclude(&thread_3, 0x0); /* No exclusions! */ in test_application_define()
596 status = tx_thread_resume(&thread_3); in thread_0_entry()
600 … || (_tx_thread_execute_ptr[2] != &thread_2) || (_tx_thread_execute_ptr[3] != &thread_3)) in thread_0_entry()
613 … || (_tx_thread_execute_ptr[2] != &thread_2) || (_tx_thread_execute_ptr[3] != &thread_3)) in thread_0_entry()
626 … || (_tx_thread_execute_ptr[2] != &thread_2) || (_tx_thread_execute_ptr[3] != &thread_3)) in thread_0_entry()
639 … || (_tx_thread_execute_ptr[2] != &thread_2) || (_tx_thread_execute_ptr[3] != &thread_3)) in thread_0_entry()
652 … || (_tx_thread_execute_ptr[2] != &thread_2) || (_tx_thread_execute_ptr[3] != &thread_3)) in thread_0_entry()
665 … || (_tx_thread_execute_ptr[2] != &thread_2) || (_tx_thread_execute_ptr[3] != &thread_3)) in thread_0_entry()
[all …]
Dthreadx_smp_resume_suspend_decending_order_test.c12 static TX_THREAD thread_3; variable
131 status = tx_thread_create(&thread_3, "thread 3", thread_entry, 3, in test_application_define()
135 status += tx_thread_smp_core_exclude(&thread_3, 0x0); /* No exclusions! */ in test_application_define()
961 status = tx_thread_resume(&thread_3); in thread_0_entry()
966 … || (_tx_thread_execute_ptr[2] != &thread_3) || (_tx_thread_execute_ptr[3] != &thread_5)) in thread_0_entry()
980 … || (_tx_thread_execute_ptr[2] != &thread_3) || (_tx_thread_execute_ptr[3] != &thread_2)) in thread_0_entry()
994 … || (_tx_thread_execute_ptr[2] != &thread_3) || (_tx_thread_execute_ptr[3] != &thread_2)) in thread_0_entry()
1007 … || (_tx_thread_execute_ptr[2] != &thread_3) || (_tx_thread_execute_ptr[3] != &thread_2)) in thread_0_entry()
1020 … || (_tx_thread_execute_ptr[2] != &thread_3) || (_tx_thread_execute_ptr[3] != &thread_2)) in thread_0_entry()
1033 … || (_tx_thread_execute_ptr[2] != &thread_3) || (_tx_thread_execute_ptr[3] != &thread_2)) in thread_0_entry()
[all …]
Dthreadx_thread_terminate_delete_test.c18 static TX_THREAD thread_3; variable
58 if (thread_ptr != &thread_3) in entry_exit_notify3()
152 status = tx_thread_create(&thread_3, "thread 3", thread_3_entry, 3, in test_application_define()
166 status = tx_thread_entry_exit_notify(&thread_3, entry_exit_notify3); in test_application_define()
272 status = tx_thread_terminate(&thread_3); in thread_0_entry()
284 status = tx_thread_delete(&thread_3); in thread_0_entry()
Dthreadx_thread_priority_change.c17 static TX_THREAD thread_3; variable
107 if ((thread_3.tx_thread_priority == 6) && in test_isr()
108 (thread_3.tx_thread_state == TX_READY) && in test_isr()
109 (_tx_thread_priority_list[6] != &thread_3) && in test_isr()
120 tx_thread_suspend(&thread_3); in test_isr()
188 status += tx_thread_create(&thread_3, "thread 3", thread_3_entry, 3, in test_application_define()
230 tx_thread_resume(&thread_3); in thread_0_entry()
521 tx_thread_priority_change(&thread_3, 6, &old_priority); in thread_3_entry()
522 tx_thread_priority_change(&thread_3, 5, &old_priority); in thread_3_entry()
Dthreadx_byte_memory_suspension_test.c13 static TX_THREAD thread_3; variable
52 tx_thread_wait_abort(&thread_3); in abort_and_resume_byte_allocating_thread()
53 tx_thread_resume(&thread_3); in abort_and_resume_byte_allocating_thread()
110 status += tx_thread_create(&thread_3, "thread 3", thread_3_entry, 3, in test_application_define()
250 tx_thread_resume(&thread_3); in thread_0_entry()
389 tx_thread_suspend(&thread_3); in thread_3_entry()
Dthreadx_mutex_proritize_test.c27 static TX_THREAD thread_3; variable
71 if (mutex_0.tx_mutex_suspension_list == &thread_3) in test_isr()
75 tx_thread_wait_abort(&thread_3); in test_isr()
149 status = tx_thread_create(&thread_3, "thread 3", thread_3_entry, 3, in test_application_define()
322 tx_thread_resume(&thread_3); in thread_0_entry()
331 if ((status != TX_SUCCESS) || (mutex_0.tx_mutex_suspension_list != &thread_3)) in thread_0_entry()
447 tx_thread_suspend(&thread_3); in thread_3_entry()
Dthreadx_smp_two_threads_one_core_test.c12 static TX_THREAD thread_3; variable
123 thread_3.tx_thread_id = 0; in test_application_define()
124 status = tx_thread_smp_core_exclude(&thread_3, 1); in test_application_define()
146 status = tx_thread_smp_core_exclude_get(&thread_3, TX_NULL); in test_application_define()
Dthreadx_queue_prioritize.c26 static TX_THREAD thread_3; variable
76 if (queue_0.tx_queue_suspension_list == &thread_3) in test_isr()
80 tx_thread_wait_abort(&thread_3); in test_isr()
155 status = tx_thread_create(&thread_3, "thread 3", thread_3_entry, 3, in test_application_define()
342 tx_thread_resume(&thread_3); in thread_0_entry()
351 if ((status != TX_SUCCESS) || (queue_0.tx_queue_suspension_list != &thread_3)) in thread_0_entry()
Dthreadx_semaphore_prioritize.c27 static TX_THREAD thread_3; variable
70 if (semaphore_0.tx_semaphore_suspension_list == &thread_3) in test_isr()
74 tx_thread_wait_abort(&thread_3); in test_isr()
155 status = tx_thread_create(&thread_3, "thread 3", thread_3_entry, 3, in test_application_define()
341 tx_thread_resume(&thread_3); in thread_0_entry()
350 if ((status != TX_SUCCESS) || (semaphore_0.tx_semaphore_suspension_list != &thread_3)) in thread_0_entry()
Dthreadx_block_memory_prioritize_test.c28 static TX_THREAD thread_3; variable
71 if (block_pool_0.tx_block_pool_suspension_list == &thread_3) in test_isr()
75 tx_thread_wait_abort(&thread_3); in test_isr()
149 status = tx_thread_create(&thread_3, "thread 3", thread_3_entry, 3, in test_application_define()
306 tx_thread_resume(&thread_3); in thread_0_entry()
315 if ((status != TX_SUCCESS) || (block_pool_0.tx_block_pool_suspension_list != &thread_3)) in thread_0_entry()
Dthreadx_byte_memory_prioritize_test.c27 static TX_THREAD thread_3; variable
69 if (byte_pool_0.tx_byte_pool_suspension_list == &thread_3) in test_isr()
73 tx_thread_wait_abort(&thread_3); in test_isr()
147 status = tx_thread_create(&thread_3, "thread 3", thread_3_entry, 3, in test_application_define()
303 tx_thread_resume(&thread_3); in thread_0_entry()
312 if ((status != TX_SUCCESS) || (byte_pool_0.tx_byte_pool_suspension_list != &thread_3)) in thread_0_entry()
Dthreadx_smp_multiple_threads_one_core_test.c11 static TX_THREAD thread_3; variable
112 status = tx_thread_create(&thread_3, "thread 3", thread_3_entry, 0, in test_application_define()
116 status += tx_thread_smp_core_exclude(&thread_3, 0x7); /* Only core 3! */ in test_application_define()
211 status += tx_thread_resume(&thread_3); in thread_0_entry()
282 tx_thread_suspend(&thread_3); in thread_3_entry()

1234567891011