| /ThreadX-v6.3.0/test/tx/regression/ |
| D | threadx_thread_completed_test.c | 17 static TX_THREAD thread_2; variable 110 status = tx_thread_create(&thread_2, "thread 2", thread_2_entry, 2, in test_application_define() 156 status = tx_thread_delete(&thread_2); in thread_1_entry() 198 _tx_thread_created_ptr = &thread_2; in thread_1_entry() 199 thread_2.tx_thread_created_next = &thread_2; in thread_1_entry() 200 thread_2.tx_thread_created_previous = &thread_2; in thread_1_entry() 204 status = tx_thread_delete(&thread_2); in thread_1_entry()
|
| D | threadx_thread_basic_execution_test.c | 41 static TX_THREAD thread_2; variable 588 thread_2.tx_thread_id = 0; in thread_0_entry() 589 status = tx_thread_delete(&thread_2); in thread_0_entry() 611 thread_2.tx_thread_id = 0; in thread_0_entry() 612 status = tx_thread_entry_exit_notify(&thread_2, TX_NULL); in thread_0_entry() 634 thread_2.tx_thread_id = 0; in thread_0_entry() 635 …status = tx_thread_info_get(&thread_2, TX_NULL, TX_NULL, TX_NULL, TX_NULL, TX_NULL, TX_NULL, TX_N… in thread_0_entry() 657 thread_2.tx_thread_id = 0; in thread_0_entry() 658 status = tx_thread_preemption_change(&thread_2, 1, TX_NULL); in thread_0_entry() 703 thread_2.tx_thread_id = 0; in thread_0_entry() [all …]
|
| D | threadx_thread_stack_checking_test.c | 20 static TX_THREAD thread_2; variable 43 if (thread_ptr == &thread_2) in stack_error_handler() 91 status = tx_thread_create(&thread_2, "thread 2", thread_2_entry, 2, in test_application_define() 196 tx_thread_resume(&thread_2); in thread_1_entry() 199 tx_thread_suspend(&thread_2); in thread_1_entry() 209 tx_thread_resume(&thread_2); in thread_1_entry() 212 tx_thread_suspend(&thread_2); in thread_1_entry()
|
| D | threadx_thread_delayed_suspension_test.c | 63 static TX_THREAD thread_2; variable 125 if ((thread_2.tx_thread_suspending) && (delayed_suspend_set == 0)) in test_isr() 137 tx_thread_suspend(&thread_2); in test_isr() 140 if (thread_2.tx_thread_delayed_suspend != 1) in test_isr() 149 tx_thread_wait_abort(&thread_2); in test_isr() 152 if (thread_2.tx_thread_state != TX_SUSPENDED) in test_isr() 200 tx_thread_create(&thread_2, "thread 2", thread_2_entry, 2, in test_application_define() 268 tx_thread_resume(&thread_2); in thread_0_entry() 275 tx_thread_wait_abort(&thread_2); in thread_0_entry()
|
| D | threadx_thread_multiple_suspension_test.c | 17 static TX_THREAD thread_2; variable 90 status = tx_thread_create(&thread_2, "thread 2", thread_2_entry, 1, in test_application_define() 199 tx_thread_suspend(&thread_2); in thread_2_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() 314 status = tx_thread_resume(&thread_2); in thread_5_entry() 318 (thread_2.tx_thread_state != TX_READY) || (thread_3.tx_thread_state != TX_SUSPENDED) || 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 | 16 static TX_THREAD thread_2; variable 89 status = tx_thread_create(&thread_2, "thread 2", thread_2_entry, 1, in test_application_define() 198 tx_thread_suspend(&thread_2); in thread_2_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() 313 status = tx_thread_resume(&thread_2); in thread_5_entry() 317 (thread_2.tx_thread_state != TX_SUSPENDED) || (thread_3.tx_thread_state != TX_SUSPENDED) || 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 | 16 static TX_THREAD thread_2; variable 139 status = tx_thread_create(&thread_2, "thread 2", thread_2_entry, 1, in test_application_define() 226 (thread_2.tx_thread_state != TX_SUSPENDED)) in thread_0_entry() 236 status = tx_thread_terminate(&thread_2); in thread_0_entry() 248 status = tx_thread_delete(&thread_2); in thread_0_entry() 321 if (tx_thread_identify() != &thread_2) in thread_2_entry() 328 tx_thread_suspend(&thread_2); in thread_2_entry()
|
| D | threadx_thread_preemption_change_test.c | 17 static TX_THREAD thread_2; variable 82 status = tx_thread_create(&thread_2, "thread 2", thread_2_entry, 1, in test_application_define() 159 status = tx_thread_preemption_change(&thread_2, 11, &old_threshold); in thread_0_entry() 186 status = tx_thread_resume(&thread_2); in thread_0_entry() 215 status = tx_thread_resume(&thread_2); in thread_0_entry() 360 tx_thread_suspend(&thread_2); in thread_2_entry()
|
| D | threadx_thread_relinquish_test.c | 13 static TX_THREAD thread_2; variable 78 status = tx_thread_create(&thread_2, "thread 2", thread_2_entry, 2, in test_application_define() 167 (thread_1.tx_thread_state != TX_READY) || (thread_2.tx_thread_state != TX_READY)) in thread_3_entry() 178 (thread_2.tx_thread_state != TX_COMPLETED)) in thread_3_entry()
|
| D | threadx_mutex_proritize_test.c | 24 static TX_THREAD thread_2; variable 136 status = tx_thread_create(&thread_2, "thread 2", thread_2_entry, 1, in test_application_define() 283 tx_thread_resume(&thread_2); in thread_0_entry() 299 if ((status != TX_SUCCESS) || (mutex_0.tx_mutex_suspension_list != &thread_2)) in thread_0_entry() 311 if ((status != TX_SUCCESS) || (mutex_0.tx_mutex_suspension_list != &thread_2)) in thread_0_entry() 321 tx_thread_resume(&thread_2); in thread_0_entry() 422 tx_thread_suspend(&thread_2); in thread_2_entry()
|
| D | threadx_queue_prioritize.c | 23 static TX_THREAD thread_2; variable 141 status = tx_thread_create(&thread_2, "thread 2", thread_2_entry, 2, in test_application_define() 300 tx_thread_resume(&thread_2); in thread_0_entry() 306 … if ((thread_1.tx_thread_state != TX_QUEUE_SUSP) || (thread_2.tx_thread_state != TX_QUEUE_SUSP) || in thread_0_entry() 319 if ((status != TX_SUCCESS) || (queue_0.tx_queue_suspension_list != &thread_2)) in thread_0_entry() 331 if ((status != TX_SUCCESS) || (queue_0.tx_queue_suspension_list != &thread_2)) in thread_0_entry() 341 tx_thread_resume(&thread_2); in thread_0_entry()
|
| D | threadx_semaphore_prioritize.c | 24 static TX_THREAD thread_2; variable 142 status = tx_thread_create(&thread_2, "thread 2", thread_2_entry, 2, in test_application_define() 299 tx_thread_resume(&thread_2); in thread_0_entry() 305 …if ((thread_1.tx_thread_state != TX_SEMAPHORE_SUSP) || (thread_2.tx_thread_state != TX_SEMAPHORE_S… in thread_0_entry() 318 if ((status != TX_SUCCESS) || (semaphore_0.tx_semaphore_suspension_list != &thread_2)) in thread_0_entry() 330 if ((status != TX_SUCCESS) || (semaphore_0.tx_semaphore_suspension_list != &thread_2)) in thread_0_entry() 340 tx_thread_resume(&thread_2); in thread_0_entry()
|
| /ThreadX-v6.3.0/test/smp/regression/ |
| D | threadx_thread_completed_test.c | 17 static TX_THREAD thread_2; variable 110 status = tx_thread_create(&thread_2, "thread 2", thread_2_entry, 2, in test_application_define() 156 status = tx_thread_delete(&thread_2); in thread_1_entry() 198 _tx_thread_created_ptr = &thread_2; in thread_1_entry() 199 thread_2.tx_thread_created_next = &thread_2; in thread_1_entry() 200 thread_2.tx_thread_created_previous = &thread_2; in thread_1_entry() 204 status = tx_thread_delete(&thread_2); in thread_1_entry()
|
| D | threadx_smp_two_threads_one_core_test.c | 11 static TX_THREAD thread_2; variable 86 status = tx_thread_create(&thread_2, "thread 2", thread_2_entry, 0, in test_application_define() 90 status += tx_thread_smp_core_exclude(&thread_2, 0xD); /* Only core 1! */ in test_application_define() 157 status = tx_thread_smp_core_exclude_get(&thread_2, TX_NULL); in test_application_define() 168 status = tx_thread_smp_core_exclude_get(&thread_2, &exclusion_map); in test_application_define() 195 status += tx_thread_resume(&thread_2); in thread_0_entry() 256 if (tx_thread_smp_core_exclude(&thread_2, 0x2)) in thread_2_entry() 266 tx_thread_suspend(&thread_2); in thread_2_entry()
|
| D | threadx_thread_basic_execution_test.c | 41 static TX_THREAD thread_2; variable 516 thread_2.tx_thread_id = 0; in thread_0_entry() 517 status = tx_thread_delete(&thread_2); in thread_0_entry() 539 thread_2.tx_thread_id = 0; in thread_0_entry() 540 status = tx_thread_entry_exit_notify(&thread_2, TX_NULL); in thread_0_entry() 562 thread_2.tx_thread_id = 0; in thread_0_entry() 563 …status = tx_thread_info_get(&thread_2, TX_NULL, TX_NULL, TX_NULL, TX_NULL, TX_NULL, TX_NULL, TX_N… in thread_0_entry() 585 thread_2.tx_thread_id = 0; in thread_0_entry() 586 status = tx_thread_preemption_change(&thread_2, 1, TX_NULL); in thread_0_entry() 631 thread_2.tx_thread_id = 0; in thread_0_entry() [all …]
|
| D | threadx_thread_stack_checking_test.c | 20 static TX_THREAD thread_2; variable 43 if (thread_ptr == &thread_2) in stack_error_handler() 91 status = tx_thread_create(&thread_2, "thread 2", thread_2_entry, 2, in test_application_define() 196 tx_thread_resume(&thread_2); in thread_1_entry() 199 tx_thread_suspend(&thread_2); in thread_1_entry() 209 tx_thread_resume(&thread_2); in thread_1_entry() 212 tx_thread_suspend(&thread_2); in thread_1_entry()
|
| D | threadx_smp_non_trivial_scheduling_test.c | 10 static TX_THREAD thread_2; variable 88 status = tx_thread_create(&thread_2, "thread 2", thread_2_entry, 2, in test_application_define() 92 status += tx_thread_smp_core_exclude(&thread_2, 0xB); /* Exclude core 3, 1 and 0 */ in test_application_define() 168 status = tx_thread_resume(&thread_2); in thread_0_entry() 172 … || (_tx_thread_execute_ptr[2] != &thread_2) || (_tx_thread_execute_ptr[3] != TX_NULL)) in thread_0_entry() 185 … || (_tx_thread_execute_ptr[2] != &thread_2) || (_tx_thread_execute_ptr[3] != TX_NULL)) in thread_0_entry() 194 status = tx_thread_suspend(&thread_2); in thread_0_entry() 245 status = tx_thread_resume(&thread_2); in thread_0_entry() 249 … || (_tx_thread_execute_ptr[2] != &thread_2) || (_tx_thread_execute_ptr[3] != TX_NULL)) in thread_0_entry() 262 … || (_tx_thread_execute_ptr[2] != &thread_2) || (_tx_thread_execute_ptr[3] != TX_NULL)) in thread_0_entry() [all …]
|
| D | threadx_thread_delayed_suspension_test.c | 63 static TX_THREAD thread_2; variable 125 if ((thread_2.tx_thread_suspending) && (delayed_suspend_set == 0)) in test_isr() 137 tx_thread_suspend(&thread_2); in test_isr() 140 if (thread_2.tx_thread_delayed_suspend != 1) in test_isr() 149 tx_thread_wait_abort(&thread_2); in test_isr() 152 if (thread_2.tx_thread_state != TX_SUSPENDED) in test_isr() 200 tx_thread_create(&thread_2, "thread 2", thread_2_entry, 2, in test_application_define() 268 tx_thread_resume(&thread_2); in thread_0_entry() 275 tx_thread_wait_abort(&thread_2); in thread_0_entry()
|
| D | threadx_thread_multiple_suspension_test.c | 17 static TX_THREAD thread_2; variable 90 status = tx_thread_create(&thread_2, "thread 2", thread_2_entry, 1, in test_application_define() 199 tx_thread_suspend(&thread_2); in thread_2_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() 314 status = tx_thread_resume(&thread_2); in thread_5_entry() 318 (thread_2.tx_thread_state != TX_READY) || (thread_3.tx_thread_state != TX_SUSPENDED) || 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 | 16 static TX_THREAD thread_2; variable 89 status = tx_thread_create(&thread_2, "thread 2", thread_2_entry, 1, in test_application_define() 198 tx_thread_suspend(&thread_2); in thread_2_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() 313 status = tx_thread_resume(&thread_2); in thread_5_entry() 317 (thread_2.tx_thread_state != TX_SUSPENDED) || (thread_3.tx_thread_state != TX_SUSPENDED) || 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 | 16 static TX_THREAD thread_2; variable 139 status = tx_thread_create(&thread_2, "thread 2", thread_2_entry, 1, in test_application_define() 226 (thread_2.tx_thread_state != TX_SUSPENDED)) in thread_0_entry() 236 status = tx_thread_terminate(&thread_2); in thread_0_entry() 248 status = tx_thread_delete(&thread_2); in thread_0_entry() 321 if (tx_thread_identify() != &thread_2) in thread_2_entry() 328 tx_thread_suspend(&thread_2); in thread_2_entry()
|
| D | threadx_smp_resume_suspend_accending_order_test.c | 11 static TX_THREAD thread_2; variable 117 status = tx_thread_create(&thread_2, "thread 2", thread_entry, 2, in test_application_define() 121 status += tx_thread_smp_core_exclude(&thread_2, 0x0); /* No exclusions! */ in test_application_define() 583 status = tx_thread_resume(&thread_2); in thread_0_entry() 587 … || (_tx_thread_execute_ptr[2] != &thread_2) || (_tx_thread_execute_ptr[3] != TX_NULL)) 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() [all …]
|
| D | threadx_smp_resume_suspend_decending_order_test.c | 11 static TX_THREAD thread_2; variable 117 status = tx_thread_create(&thread_2, "thread 2", thread_entry, 2, in test_application_define() 121 status += tx_thread_smp_core_exclude(&thread_2, 0x0); /* No exclusions! */ in test_application_define() 975 status = tx_thread_resume(&thread_2); 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() 1046 … || (_tx_thread_execute_ptr[2] != &thread_3) || (_tx_thread_execute_ptr[3] != &thread_2)) in thread_0_entry() [all …]
|
| D | threadx_smp_rebalance_exclusion_test.c | 10 static TX_THREAD thread_2; variable 86 status = tx_thread_create(&thread_2, "thread 2", thread_2_entry, 0, in test_application_define() 90 status += tx_thread_smp_core_exclude(&thread_2, 0x0); /* No exclusions! */ in test_application_define() 142 status += tx_thread_resume(&thread_2); in thread_0_entry() 186 tx_thread_suspend(&thread_2); in thread_2_entry()
|
| D | threadx_thread_preemption_change_test.c | 17 static TX_THREAD thread_2; variable 82 status = tx_thread_create(&thread_2, "thread 2", thread_2_entry, 1, in test_application_define() 159 status = tx_thread_preemption_change(&thread_2, 11, &old_threshold); in thread_0_entry() 186 status = tx_thread_resume(&thread_2); in thread_0_entry() 215 status = tx_thread_resume(&thread_2); in thread_0_entry() 376 tx_thread_suspend(&thread_2); in thread_2_entry()
|