/ThreadX-v6.4.1/test/tx/regression/ |
D | threadx_mutex_suspension_timeout_test.c | 19 static TX_MUTEX mutex_1; variable 130 status += tx_mutex_create(&mutex_1, "mutex 1", TX_INHERIT); in test_application_define() 178 status = tx_mutex_get(&mutex_1, TX_WAIT_FOREVER); in thread_0_entry() 190 tx_mutex_put(&mutex_1); in thread_0_entry() 195 tx_mutex_put(&mutex_1); in thread_0_entry() 256 status = tx_mutex_get(&mutex_1, TX_WAIT_FOREVER); in thread_1_entry() 258 tx_mutex_put(&mutex_1); in thread_1_entry() 274 status = tx_mutex_get(&mutex_1, TX_WAIT_FOREVER); in thread_2_entry() 276 tx_mutex_put(&mutex_1); in thread_2_entry() 292 status = tx_mutex_get(&mutex_1, TX_WAIT_FOREVER); in thread_3_entry() [all …]
|
D | threadx_mutex_nested_priority_inheritance_test.c | 21 static TX_MUTEX mutex_1; variable 170 status += tx_mutex_create(&mutex_1, "mutex 1", TX_INHERIT); in test_application_define() 220 tx_mutex_get(&mutex_1, TX_WAIT_FOREVER); in thread_0_entry() 258 tx_mutex_put(&mutex_1); in thread_0_entry() 295 tx_mutex_put(&mutex_1); in thread_0_entry() 342 tx_mutex_put(&mutex_1); in thread_0_entry() 357 tx_mutex_put(&mutex_1); in thread_0_entry() 394 tx_mutex_put(&mutex_1); in thread_0_entry() 453 tx_mutex_put(&mutex_1); in thread_0_entry() 557 tx_mutex_get(&mutex_1, TX_WAIT_FOREVER); in thread_1_entry() [all …]
|
D | threadx_mutex_priority_inheritance_test.c | 30 static TX_MUTEX mutex_1; variable 195 status = tx_mutex_create(&mutex_1, "mutex 1", TX_INHERIT); in test_application_define() 266 status += tx_mutex_get(&mutex_1, TX_NO_WAIT); in thread_0_entry() 487 status += tx_mutex_get(&mutex_1, TX_WAIT_FOREVER); in thread_4_entry() 488 status += tx_mutex_get(&mutex_1, TX_WAIT_FOREVER); in thread_4_entry() 489 status += tx_mutex_get(&mutex_1, TX_WAIT_FOREVER); in thread_4_entry()
|
D | threadx_mutex_information_test.c | 14 static TX_MUTEX mutex_1; variable 85 status = tx_mutex_create(&mutex_1, "mutex 1", TX_NO_INHERIT); in test_application_define() 198 status = tx_mutex_get(&mutex_1, TX_NO_WAIT); in thread_0_entry() 224 status = tx_mutex_delete(&mutex_1); in thread_0_entry() 567 status = tx_mutex_get(&mutex_1, TX_NO_WAIT); in thread_1_entry() 582 status = tx_mutex_put(&mutex_1); in thread_1_entry()
|
D | threadx_mutex_basic_test.c | 36 static TX_MUTEX mutex_1; variable 250 status = tx_mutex_create(&mutex_1, "mutex 1", TX_NO_INHERIT); in test_application_define() 511 status = tx_mutex_get(&mutex_1, TX_NO_WAIT); in thread_0_entry() 537 status = tx_mutex_delete(&mutex_1); in thread_0_entry() 690 status = tx_mutex_get(&mutex_1, TX_NO_WAIT); in thread_1_entry() 705 status = tx_mutex_put(&mutex_1); in thread_1_entry()
|
D | threadx_mutex_proritize_test.c | 40 static TX_MUTEX mutex_1; variable 244 mutex_1.tx_mutex_id = 0; in thread_0_entry() 245 status = tx_mutex_prioritize(&mutex_1); in thread_0_entry()
|
/ThreadX-v6.4.1/test/smp/regression/ |
D | threadx_mutex_suspension_timeout_test.c | 19 static TX_MUTEX mutex_1; variable 178 status += tx_mutex_create(&mutex_1, "mutex 1", TX_INHERIT); in test_application_define() 227 status = tx_mutex_get(&mutex_1, TX_WAIT_FOREVER); in thread_0_entry() 239 tx_mutex_put(&mutex_1); in thread_0_entry() 244 tx_mutex_put(&mutex_1); in thread_0_entry() 411 status = tx_mutex_get(&mutex_1, TX_WAIT_FOREVER); in thread_1_entry() 413 tx_mutex_put(&mutex_1); in thread_1_entry() 429 status = tx_mutex_get(&mutex_1, TX_WAIT_FOREVER); in thread_2_entry() 431 tx_mutex_put(&mutex_1); in thread_2_entry() 447 status = tx_mutex_get(&mutex_1, TX_WAIT_FOREVER); in thread_3_entry() [all …]
|
D | threadx_mutex_nested_priority_inheritance_test.c | 21 static TX_MUTEX mutex_1; variable 170 status += tx_mutex_create(&mutex_1, "mutex 1", TX_INHERIT); in test_application_define() 220 tx_mutex_get(&mutex_1, TX_WAIT_FOREVER); in thread_0_entry() 258 tx_mutex_put(&mutex_1); in thread_0_entry() 295 tx_mutex_put(&mutex_1); in thread_0_entry() 342 tx_mutex_put(&mutex_1); in thread_0_entry() 357 tx_mutex_put(&mutex_1); in thread_0_entry() 394 tx_mutex_put(&mutex_1); in thread_0_entry() 453 tx_mutex_put(&mutex_1); in thread_0_entry() 557 tx_mutex_get(&mutex_1, TX_WAIT_FOREVER); in thread_1_entry() [all …]
|
D | threadx_mutex_priority_inheritance_test.c | 30 static TX_MUTEX mutex_1; variable 195 status = tx_mutex_create(&mutex_1, "mutex 1", TX_INHERIT); in test_application_define() 266 status += tx_mutex_get(&mutex_1, TX_NO_WAIT); in thread_0_entry() 488 status += tx_mutex_get(&mutex_1, TX_WAIT_FOREVER); in thread_4_entry() 489 status += tx_mutex_get(&mutex_1, TX_WAIT_FOREVER); in thread_4_entry() 490 status += tx_mutex_get(&mutex_1, TX_WAIT_FOREVER); in thread_4_entry()
|
D | threadx_mutex_basic_test.c | 36 static TX_MUTEX mutex_1; variable 250 status = tx_mutex_create(&mutex_1, "mutex 1", TX_NO_INHERIT); in test_application_define() 511 status = tx_mutex_get(&mutex_1, TX_NO_WAIT); in thread_0_entry() 537 status = tx_mutex_delete(&mutex_1); in thread_0_entry() 690 status = tx_mutex_get(&mutex_1, TX_NO_WAIT); in thread_1_entry() 705 status = tx_mutex_put(&mutex_1); in thread_1_entry()
|
D | threadx_mutex_information_test.c | 14 static TX_MUTEX mutex_1; variable 85 status = tx_mutex_create(&mutex_1, "mutex 1", TX_NO_INHERIT); in test_application_define() 198 status = tx_mutex_get(&mutex_1, TX_NO_WAIT); in thread_0_entry() 224 status = tx_mutex_delete(&mutex_1); in thread_0_entry() 567 status = tx_mutex_get(&mutex_1, TX_NO_WAIT); in thread_1_entry() 582 status = tx_mutex_put(&mutex_1); in thread_1_entry()
|
D | threadx_mutex_proritize_test.c | 40 static TX_MUTEX mutex_1; variable 244 mutex_1.tx_mutex_id = 0; in thread_0_entry() 245 status = tx_mutex_prioritize(&mutex_1); in thread_0_entry()
|