| /ThreadX-v6.3.0/test/tx/regression/ |
| D | threadx_thread_priority_change.c | 17 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()
|
| D | threadx_thread_multiple_suspension_test.c | 20 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 …]
|
| D | threadx_thread_preemptable_suspension_test.c | 19 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 …]
|
| D | threadx_thread_terminate_delete_test.c | 18 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()
|
| D | threadx_byte_memory_suspension_test.c | 13 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()
|
| D | threadx_mutex_proritize_test.c | 27 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()
|
| D | threadx_byte_memory_prioritize_test.c | 27 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()
|
| D | threadx_queue_prioritize.c | 26 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()
|
| D | threadx_semaphore_prioritize.c | 27 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()
|
| D | threadx_block_memory_prioritize_test.c | 28 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/ |
| D | threadx_thread_multiple_suspension_test.c | 20 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 …]
|
| D | threadx_thread_preemptable_suspension_test.c | 19 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 …]
|
| D | threadx_smp_non_trivial_scheduling_test.c | 11 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()
|
| D | threadx_smp_resume_suspend_accending_order_test.c | 12 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 …]
|
| D | threadx_smp_resume_suspend_decending_order_test.c | 12 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 …]
|
| D | threadx_thread_terminate_delete_test.c | 18 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()
|
| D | threadx_thread_priority_change.c | 17 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()
|
| D | threadx_byte_memory_suspension_test.c | 13 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()
|
| D | threadx_mutex_proritize_test.c | 27 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()
|
| D | threadx_smp_two_threads_one_core_test.c | 12 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()
|
| D | threadx_queue_prioritize.c | 26 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()
|
| D | threadx_semaphore_prioritize.c | 27 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()
|
| D | threadx_block_memory_prioritize_test.c | 28 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()
|
| D | threadx_byte_memory_prioritize_test.c | 27 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()
|
| D | threadx_smp_multiple_threads_one_core_test.c | 11 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()
|