| /ThreadX-v6.3.0/test/tx/regression/ |
| D | threadx_mutex_information_test.c | 15 static TX_MUTEX mutex_2; variable 96 status = tx_mutex_create(&mutex_2, "mutex 2", TX_INHERIT); in test_application_define() 236 status = tx_mutex_get(&mutex_2, TX_NO_WAIT); in thread_0_entry() 288 status = tx_mutex_info_get(&mutex_2, TX_NULL, TX_NULL, TX_NULL, TX_NULL, TX_NULL, TX_NULL); in thread_0_entry() 289 …status += tx_mutex_info_get(&mutex_2, &name, &count, &owner, &first_suspended, &suspended_count, &… in thread_0_entry() 292 …if ((status != TX_SUCCESS) || (count != mutex_2.tx_mutex_ownership_count) || (owner != mutex_2.tx_… in thread_0_entry() 293 …irst_suspended != mutex_2.tx_mutex_suspension_list) || (suspended_count != mutex_2.tx_mutex_suspen… in thread_0_entry() 316 …status = tx_mutex_performance_info_get(&mutex_2, &puts, &gets, &suspensions, &timeouts, &inversio… in thread_0_entry() 319 …if ((status != TX_SUCCESS) || (puts != mutex_2.tx_mutex_performance_put_count) || (gets != mutex_2… in thread_0_entry() 320 …(suspensions != mutex_2.tx_mutex_performance_suspension_count) || (timeouts != mutex_2.tx_mutex_pe… in thread_0_entry() [all …]
|
| D | threadx_mutex_basic_test.c | 37 static TX_MUTEX mutex_2; variable 90 status = tx_mutex_delete(&mutex_2); in timer_entry() 101 status = tx_mutex_get(&mutex_2, 100); in timer_entry() 137 status = tx_mutex_delete(&mutex_2); in test_isr() 148 status = tx_mutex_get(&mutex_2, 100); in test_isr() 159 status = tx_mutex_get(&mutex_2, TX_NO_WAIT); in test_isr() 170 status = tx_mutex_put(&mutex_2); in test_isr() 261 status = tx_mutex_create(&mutex_2, "mutex 2", TX_INHERIT); in test_application_define() 360 status = tx_mutex_create(&mutex_2, "mutex 2", TX_INHERIT); in thread_0_entry() 549 status = tx_mutex_get(&mutex_2, TX_NO_WAIT); in thread_0_entry() [all …]
|
| D | threadx_mutex_nested_priority_inheritance_test.c | 22 static TX_MUTEX mutex_2; variable 171 status += tx_mutex_create(&mutex_2, "mutex 2", TX_INHERIT); in test_application_define() 221 tx_mutex_get(&mutex_2, TX_WAIT_FOREVER); in thread_0_entry() 247 tx_mutex_put(&mutex_2); in thread_0_entry() 306 tx_mutex_put(&mutex_2); in thread_0_entry() 320 tx_mutex_put(&mutex_2); in thread_0_entry() 379 tx_mutex_put(&mutex_2); in thread_0_entry() 405 tx_mutex_put(&mutex_2); in thread_0_entry() 442 tx_mutex_put(&mutex_2); in thread_0_entry() 595 tx_mutex_get(&mutex_2, TX_WAIT_FOREVER); in thread_2_entry() [all …]
|
| D | threadx_mutex_priority_inheritance_test.c | 31 static TX_MUTEX mutex_2; variable 206 status = tx_mutex_create(&mutex_2, "mutex 2", TX_INHERIT); in test_application_define() 267 status += tx_mutex_get(&mutex_2, TX_NO_WAIT); in thread_0_entry() 279 tx_mutex_put(&mutex_2); in thread_0_entry() 457 tx_mutex_get(&mutex_2, TX_WAIT_FOREVER); in thread_2_entry() 490 status += tx_mutex_get(&mutex_2, TX_WAIT_FOREVER); in thread_4_entry()
|
| /ThreadX-v6.3.0/test/smp/regression/ |
| D | threadx_mutex_information_test.c | 15 static TX_MUTEX mutex_2; variable 96 status = tx_mutex_create(&mutex_2, "mutex 2", TX_INHERIT); in test_application_define() 236 status = tx_mutex_get(&mutex_2, TX_NO_WAIT); in thread_0_entry() 288 status = tx_mutex_info_get(&mutex_2, TX_NULL, TX_NULL, TX_NULL, TX_NULL, TX_NULL, TX_NULL); in thread_0_entry() 289 …status += tx_mutex_info_get(&mutex_2, &name, &count, &owner, &first_suspended, &suspended_count, &… in thread_0_entry() 292 …if ((status != TX_SUCCESS) || (count != mutex_2.tx_mutex_ownership_count) || (owner != mutex_2.tx_… in thread_0_entry() 293 …irst_suspended != mutex_2.tx_mutex_suspension_list) || (suspended_count != mutex_2.tx_mutex_suspen… in thread_0_entry() 316 …status = tx_mutex_performance_info_get(&mutex_2, &puts, &gets, &suspensions, &timeouts, &inversio… in thread_0_entry() 319 …if ((status != TX_SUCCESS) || (puts != mutex_2.tx_mutex_performance_put_count) || (gets != mutex_2… in thread_0_entry() 320 …(suspensions != mutex_2.tx_mutex_performance_suspension_count) || (timeouts != mutex_2.tx_mutex_pe… in thread_0_entry() [all …]
|
| D | threadx_mutex_basic_test.c | 37 static TX_MUTEX mutex_2; variable 90 status = tx_mutex_delete(&mutex_2); in timer_entry() 101 status = tx_mutex_get(&mutex_2, 100); in timer_entry() 137 status = tx_mutex_delete(&mutex_2); in test_isr() 148 status = tx_mutex_get(&mutex_2, 100); in test_isr() 159 status = tx_mutex_get(&mutex_2, TX_NO_WAIT); in test_isr() 170 status = tx_mutex_put(&mutex_2); in test_isr() 261 status = tx_mutex_create(&mutex_2, "mutex 2", TX_INHERIT); in test_application_define() 360 status = tx_mutex_create(&mutex_2, "mutex 2", TX_INHERIT); in thread_0_entry() 549 status = tx_mutex_get(&mutex_2, TX_NO_WAIT); in thread_0_entry() [all …]
|
| D | threadx_mutex_nested_priority_inheritance_test.c | 22 static TX_MUTEX mutex_2; variable 171 status += tx_mutex_create(&mutex_2, "mutex 2", TX_INHERIT); in test_application_define() 221 tx_mutex_get(&mutex_2, TX_WAIT_FOREVER); in thread_0_entry() 247 tx_mutex_put(&mutex_2); in thread_0_entry() 306 tx_mutex_put(&mutex_2); in thread_0_entry() 320 tx_mutex_put(&mutex_2); in thread_0_entry() 379 tx_mutex_put(&mutex_2); in thread_0_entry() 405 tx_mutex_put(&mutex_2); in thread_0_entry() 442 tx_mutex_put(&mutex_2); in thread_0_entry() 595 tx_mutex_get(&mutex_2, TX_WAIT_FOREVER); in thread_2_entry() [all …]
|
| D | threadx_mutex_priority_inheritance_test.c | 31 static TX_MUTEX mutex_2; variable 206 status = tx_mutex_create(&mutex_2, "mutex 2", TX_INHERIT); in test_application_define() 267 status += tx_mutex_get(&mutex_2, TX_NO_WAIT); in thread_0_entry() 279 tx_mutex_put(&mutex_2); in thread_0_entry() 457 tx_mutex_get(&mutex_2, TX_WAIT_FOREVER); in thread_2_entry() 491 status += tx_mutex_get(&mutex_2, TX_WAIT_FOREVER); in thread_4_entry()
|