Home
last modified time | relevance | path

Searched refs:mutex_0 (Results 1 – 25 of 238) sorted by relevance

12345678910

/ThreadX-v6.3.0/test/tx/regression/
Dthreadx_mutex_proritize_test.c39 static TX_MUTEX mutex_0; variable
71 if (mutex_0.tx_mutex_suspension_list == &thread_3) in test_isr()
202 status = tx_mutex_create(&mutex_0, "mutex 0", TX_NO_INHERIT); in test_application_define()
258 status = tx_mutex_prioritize(&mutex_0); in thread_0_entry()
270 status = tx_mutex_get(&mutex_0, TX_NO_WAIT); in thread_0_entry()
287 if (mutex_0.tx_mutex_suspension_list != &thread_1) in thread_0_entry()
296 status = tx_mutex_prioritize(&mutex_0); in thread_0_entry()
299 if ((status != TX_SUCCESS) || (mutex_0.tx_mutex_suspension_list != &thread_2)) in thread_0_entry()
308 status = tx_mutex_prioritize(&mutex_0); in thread_0_entry()
311 if ((status != TX_SUCCESS) || (mutex_0.tx_mutex_suspension_list != &thread_2)) in thread_0_entry()
[all …]
Dthreadx_mutex_delete_test.c17 static TX_MUTEX mutex_0; variable
90 status = tx_mutex_create(&mutex_0, "mutex 0", TX_NO_INHERIT); in test_application_define()
118 status = tx_mutex_get(&mutex_0, TX_NO_WAIT); in thread_0_entry()
135 status = tx_mutex_delete(&mutex_0); in thread_0_entry()
174 status = tx_mutex_get(&mutex_0, TX_WAIT_FOREVER); in thread_1_entry()
189 status = tx_mutex_get(&mutex_0, TX_WAIT_FOREVER); in thread_2_entry()
Dthreadx_mutex_no_preemption_test.c14 static TX_MUTEX mutex_0; variable
73 status = tx_mutex_create(&mutex_0, "mutex 0", TX_NO_INHERIT); in test_application_define()
101 status = tx_mutex_get(&mutex_0, TX_NO_WAIT); in thread_0_entry()
126 status = tx_mutex_put(&mutex_0); in thread_0_entry()
167 status = tx_mutex_get(&mutex_0, TX_WAIT_FOREVER); in thread_1_entry()
Dthreadx_mutex_preemption_test.c14 static TX_MUTEX mutex_0; variable
73 status = tx_mutex_create(&mutex_0, "mutex 0", TX_NO_INHERIT); in test_application_define()
101 status = tx_mutex_get(&mutex_0, TX_NO_WAIT); in thread_0_entry()
126 status = tx_mutex_put(&mutex_0); in thread_0_entry()
155 status = tx_mutex_get(&mutex_0, TX_WAIT_FOREVER); in thread_1_entry()
Dthreadx_mutex_priority_inheritance_test.c29 static TX_MUTEX mutex_0; variable
184 status = tx_mutex_create(&mutex_0, "mutex 0", TX_INHERIT); in test_application_define()
265 status = tx_mutex_get(&mutex_0, TX_NO_WAIT); in thread_0_entry()
295 status = tx_mutex_put(&mutex_0); in thread_0_entry()
307 status = tx_mutex_get(&mutex_0, TX_NO_WAIT); in thread_0_entry()
335 status = tx_mutex_put(&mutex_0); in thread_0_entry()
347 status = tx_mutex_get(&mutex_0, TX_NO_WAIT); in thread_0_entry()
367 status = tx_mutex_put(&mutex_0); in thread_0_entry()
437 status = tx_mutex_get(&mutex_0, TX_WAIT_FOREVER); in thread_1_entry()
438 status += tx_mutex_put(&mutex_0); in thread_1_entry()
[all …]
Dthreadx_mutex_thread_terminate_test.c17 static TX_MUTEX mutex_0; variable
90 status = tx_mutex_create(&mutex_0, "mutex 0", 0); in test_application_define()
101 tx_mutex_get(&mutex_0, TX_NO_WAIT); in test_application_define()
178 tx_mutex_get(&mutex_0, 33); in thread_1_entry()
194 tx_mutex_get(&mutex_0, 44); in thread_2_entry()
Dthreadx_thread_preemption_change_test.c19 static TX_MUTEX mutex_0; variable
95 status = tx_mutex_create(&mutex_0, "mutex 0", TX_INHERIT); in test_application_define()
265 status = tx_mutex_get(&mutex_0, TX_WAIT_FOREVER); in thread_0_entry()
295 status = tx_mutex_put(&mutex_0); in thread_0_entry()
343 tx_mutex_get(&mutex_0, TX_WAIT_FOREVER); in thread_1_entry()
346 tx_mutex_put(&mutex_0); in thread_1_entry()
/ThreadX-v6.3.0/test/smp/regression/
Dthreadx_mutex_proritize_test.c39 static TX_MUTEX mutex_0; variable
71 if (mutex_0.tx_mutex_suspension_list == &thread_3) in test_isr()
202 status = tx_mutex_create(&mutex_0, "mutex 0", TX_NO_INHERIT); in test_application_define()
258 status = tx_mutex_prioritize(&mutex_0); in thread_0_entry()
270 status = tx_mutex_get(&mutex_0, TX_NO_WAIT); in thread_0_entry()
287 if (mutex_0.tx_mutex_suspension_list != &thread_1) in thread_0_entry()
296 status = tx_mutex_prioritize(&mutex_0); in thread_0_entry()
299 if ((status != TX_SUCCESS) || (mutex_0.tx_mutex_suspension_list != &thread_2)) in thread_0_entry()
308 status = tx_mutex_prioritize(&mutex_0); in thread_0_entry()
311 if ((status != TX_SUCCESS) || (mutex_0.tx_mutex_suspension_list != &thread_2)) in thread_0_entry()
[all …]
Dthreadx_mutex_delete_test.c17 static TX_MUTEX mutex_0; variable
90 status = tx_mutex_create(&mutex_0, "mutex 0", TX_NO_INHERIT); in test_application_define()
118 status = tx_mutex_get(&mutex_0, TX_NO_WAIT); in thread_0_entry()
135 status = tx_mutex_delete(&mutex_0); in thread_0_entry()
174 status = tx_mutex_get(&mutex_0, TX_WAIT_FOREVER); in thread_1_entry()
189 status = tx_mutex_get(&mutex_0, TX_WAIT_FOREVER); in thread_2_entry()
Dthreadx_mutex_no_preemption_test.c14 static TX_MUTEX mutex_0; variable
73 status = tx_mutex_create(&mutex_0, "mutex 0", TX_NO_INHERIT); in test_application_define()
101 status = tx_mutex_get(&mutex_0, TX_NO_WAIT); in thread_0_entry()
126 status = tx_mutex_put(&mutex_0); in thread_0_entry()
167 status = tx_mutex_get(&mutex_0, TX_WAIT_FOREVER); in thread_1_entry()
Dthreadx_mutex_preemption_test.c14 static TX_MUTEX mutex_0; variable
73 status = tx_mutex_create(&mutex_0, "mutex 0", TX_NO_INHERIT); in test_application_define()
101 status = tx_mutex_get(&mutex_0, TX_NO_WAIT); in thread_0_entry()
126 status = tx_mutex_put(&mutex_0); in thread_0_entry()
155 status = tx_mutex_get(&mutex_0, TX_WAIT_FOREVER); in thread_1_entry()
Dthreadx_mutex_priority_inheritance_test.c29 static TX_MUTEX mutex_0; variable
184 status = tx_mutex_create(&mutex_0, "mutex 0", TX_INHERIT); in test_application_define()
265 status = tx_mutex_get(&mutex_0, TX_NO_WAIT); in thread_0_entry()
295 status = tx_mutex_put(&mutex_0); in thread_0_entry()
307 status = tx_mutex_get(&mutex_0, TX_NO_WAIT); in thread_0_entry()
335 status = tx_mutex_put(&mutex_0); in thread_0_entry()
347 status = tx_mutex_get(&mutex_0, TX_NO_WAIT); in thread_0_entry()
367 status = tx_mutex_put(&mutex_0); in thread_0_entry()
437 status = tx_mutex_get(&mutex_0, TX_WAIT_FOREVER); in thread_1_entry()
438 status += tx_mutex_put(&mutex_0); in thread_1_entry()
[all …]
Dthreadx_mutex_thread_terminate_test.c17 static TX_MUTEX mutex_0; variable
90 status = tx_mutex_create(&mutex_0, "mutex 0", 0); in test_application_define()
101 tx_mutex_get(&mutex_0, TX_NO_WAIT); in test_application_define()
178 tx_mutex_get(&mutex_0, 33); in thread_1_entry()
194 tx_mutex_get(&mutex_0, 44); in thread_2_entry()
Dthreadx_thread_preemption_change_test.c19 static TX_MUTEX mutex_0; variable
95 status = tx_mutex_create(&mutex_0, "mutex 0", TX_INHERIT); in test_application_define()
265 status = tx_mutex_get(&mutex_0, TX_WAIT_FOREVER); in thread_0_entry()
305 status = tx_mutex_put(&mutex_0); in thread_0_entry()
359 tx_mutex_get(&mutex_0, TX_WAIT_FOREVER); in thread_1_entry()
362 tx_mutex_put(&mutex_0); in thread_1_entry()
/ThreadX-v6.3.0/ports_module/cortex_m7/ac5/example_build/
Dsample_threadx.c25 TX_MUTEX mutex_0; variable
158 tx_mutex_create(&mutex_0, "mutex 0", TX_NO_INHERIT); in tx_application_define()
336 status = tx_mutex_get(&mutex_0, TX_WAIT_FOREVER); in thread_6_and_7_entry()
345 status = tx_mutex_get(&mutex_0, TX_WAIT_FOREVER); in thread_6_and_7_entry()
355 status = tx_mutex_put(&mutex_0); in thread_6_and_7_entry()
363 status = tx_mutex_put(&mutex_0); in thread_6_and_7_entry()
/ThreadX-v6.3.0/ports_module/cortex_m7/ac6/example_build/sample_threadx/
Dsample_threadx.c25 TX_MUTEX mutex_0; variable
159 tx_mutex_create(&mutex_0, "mutex 0", TX_NO_INHERIT); in tx_application_define()
337 status = tx_mutex_get(&mutex_0, TX_WAIT_FOREVER); in thread_6_and_7_entry()
346 status = tx_mutex_get(&mutex_0, TX_WAIT_FOREVER); in thread_6_and_7_entry()
356 status = tx_mutex_put(&mutex_0); in thread_6_and_7_entry()
364 status = tx_mutex_put(&mutex_0); in thread_6_and_7_entry()
/ThreadX-v6.3.0/ports_module/cortex_m7/iar/example_build/
Dsample_threadx.c34 TX_MUTEX mutex_0; variable
170 tx_mutex_create(&mutex_0, "mutex 0", TX_NO_INHERIT); in tx_application_define()
348 status = tx_mutex_get(&mutex_0, TX_WAIT_FOREVER); in thread_6_and_7_entry()
357 status = tx_mutex_get(&mutex_0, TX_WAIT_FOREVER); in thread_6_and_7_entry()
367 status = tx_mutex_put(&mutex_0); in thread_6_and_7_entry()
375 status = tx_mutex_put(&mutex_0); in thread_6_and_7_entry()
/ThreadX-v6.3.0/ports_module/cortex_r4/ac6/example_build/sample_threadx/
Dsample_threadx.c26 TX_MUTEX mutex_0; variable
163 tx_mutex_create(&mutex_0, "mutex 0", TX_NO_INHERIT); in tx_application_define()
341 status = tx_mutex_get(&mutex_0, TX_WAIT_FOREVER); in thread_6_and_7_entry()
350 status = tx_mutex_get(&mutex_0, TX_WAIT_FOREVER); in thread_6_and_7_entry()
360 status = tx_mutex_put(&mutex_0); in thread_6_and_7_entry()
368 status = tx_mutex_put(&mutex_0); in thread_6_and_7_entry()
/ThreadX-v6.3.0/ports/cortex_a9/gnu/example_build/
Dsample_threadx.c25 TX_MUTEX mutex_0; variable
158 tx_mutex_create(&mutex_0, "mutex 0", TX_NO_INHERIT); in tx_application_define()
336 status = tx_mutex_get(&mutex_0, TX_WAIT_FOREVER); in thread_6_and_7_entry()
345 status = tx_mutex_get(&mutex_0, TX_WAIT_FOREVER); in thread_6_and_7_entry()
355 status = tx_mutex_put(&mutex_0); in thread_6_and_7_entry()
363 status = tx_mutex_put(&mutex_0); in thread_6_and_7_entry()
/ThreadX-v6.3.0/ports/cortex_a9/iar/example_build/
Dsample_threadx.c25 TX_MUTEX mutex_0; variable
161 tx_mutex_create(&mutex_0, "mutex 0", TX_NO_INHERIT); in tx_application_define()
339 status = tx_mutex_get(&mutex_0, TX_WAIT_FOREVER); in thread_6_and_7_entry()
348 status = tx_mutex_get(&mutex_0, TX_WAIT_FOREVER); in thread_6_and_7_entry()
358 status = tx_mutex_put(&mutex_0); in thread_6_and_7_entry()
366 status = tx_mutex_put(&mutex_0); in thread_6_and_7_entry()
/ThreadX-v6.3.0/ports/cortex_m0/ac5/example_build/
Dsample_threadx.c25 TX_MUTEX mutex_0; variable
158 tx_mutex_create(&mutex_0, "mutex 0", TX_NO_INHERIT); in tx_application_define()
336 status = tx_mutex_get(&mutex_0, TX_WAIT_FOREVER); in thread_6_and_7_entry()
345 status = tx_mutex_get(&mutex_0, TX_WAIT_FOREVER); in thread_6_and_7_entry()
355 status = tx_mutex_put(&mutex_0); in thread_6_and_7_entry()
363 status = tx_mutex_put(&mutex_0); in thread_6_and_7_entry()
/ThreadX-v6.3.0/ports/cortex_m0/ac6/example_build/sample_threadx/
Dsample_threadx.c28 TX_MUTEX mutex_0; variable
161 tx_mutex_create(&mutex_0, "mutex 0", TX_NO_INHERIT); in tx_application_define()
339 status = tx_mutex_get(&mutex_0, TX_WAIT_FOREVER); in thread_6_and_7_entry()
348 status = tx_mutex_get(&mutex_0, TX_WAIT_FOREVER); in thread_6_and_7_entry()
358 status = tx_mutex_put(&mutex_0); in thread_6_and_7_entry()
366 status = tx_mutex_put(&mutex_0); in thread_6_and_7_entry()
/ThreadX-v6.3.0/ports/cortex_m0/gnu/example_build/
Dsample_threadx.c28 TX_MUTEX mutex_0; variable
161 tx_mutex_create(&mutex_0, "mutex 0", TX_NO_INHERIT); in tx_application_define()
339 status = tx_mutex_get(&mutex_0, TX_WAIT_FOREVER); in thread_6_and_7_entry()
348 status = tx_mutex_get(&mutex_0, TX_WAIT_FOREVER); in thread_6_and_7_entry()
358 status = tx_mutex_put(&mutex_0); in thread_6_and_7_entry()
366 status = tx_mutex_put(&mutex_0); in thread_6_and_7_entry()
/ThreadX-v6.3.0/ports/cortex_m0/iar/example_build/
Dsample_threadx.c25 TX_MUTEX mutex_0; variable
174 tx_mutex_create(&mutex_0, "mutex 0", TX_NO_INHERIT); in tx_application_define()
352 status = tx_mutex_get(&mutex_0, TX_WAIT_FOREVER); in thread_6_and_7_entry()
361 status = tx_mutex_get(&mutex_0, TX_WAIT_FOREVER); in thread_6_and_7_entry()
371 status = tx_mutex_put(&mutex_0); in thread_6_and_7_entry()
379 status = tx_mutex_put(&mutex_0); in thread_6_and_7_entry()
/ThreadX-v6.3.0/ports/cortex_m0/keil/example_build/
Dsample_threadx.c25 TX_MUTEX mutex_0; variable
158 tx_mutex_create(&mutex_0, "mutex 0", TX_NO_INHERIT); in tx_application_define()
336 status = tx_mutex_get(&mutex_0, TX_WAIT_FOREVER); in thread_6_and_7_entry()
345 status = tx_mutex_get(&mutex_0, TX_WAIT_FOREVER); in thread_6_and_7_entry()
355 status = tx_mutex_put(&mutex_0); in thread_6_and_7_entry()
363 status = tx_mutex_put(&mutex_0); in thread_6_and_7_entry()

12345678910