Home
last modified time | relevance | path

Searched refs:test_mutex (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/tests/kernel/obj_core/obj_core_stats_api/src/
Dmain.c25 K_MUTEX_DEFINE(test_mutex);
37 k_mutex_lock(&test_mutex, K_FOREVER); in ZTEST()
60 k_mutex_unlock(&test_mutex); in ZTEST()
68 k_mutex_lock(&test_mutex, K_FOREVER); in ZTEST()
91 k_mutex_unlock(&test_mutex); in ZTEST()
99 k_mutex_lock(&test_mutex, K_FOREVER); in ZTEST()
122 k_mutex_unlock(&test_mutex); in ZTEST()
131 k_mutex_lock(&test_mutex, K_FOREVER); in ZTEST()
156 k_mutex_unlock(&test_mutex); in ZTEST()
166 k_mutex_lock(&test_mutex, K_FOREVER); in ZTEST()
[all …]
/Zephyr-latest/tests/kernel/condvar/condvar_api/src/
Dmain.c24 K_MUTEX_DEFINE(test_mutex);
67 k_mutex_lock(&test_mutex, K_FOREVER); in condvar_wait_task()
68 ret_value = k_condvar_wait(&simple_condvar, &test_mutex, K_TICKS(time_val)); in condvar_wait_task()
87 k_mutex_unlock(&test_mutex); in condvar_wait_task()
116 k_mutex_lock(&test_mutex, K_FOREVER); in condvar_wait_wake_task()
117 ret_value = k_condvar_wait(&simple_condvar, &test_mutex, K_TICKS(time_val)); in condvar_wait_wake_task()
134 k_mutex_unlock(&test_mutex); in condvar_wait_wake_task()
329 k_mutex_lock(&test_mutex, K_FOREVER); in condvar_multiple_wait_wake_task()
332 &test_mutex, K_TICKS(time_val)); in condvar_multiple_wait_wake_task()
335 k_mutex_unlock(&test_mutex); in condvar_multiple_wait_wake_task()
[all …]
/Zephyr-latest/tests/benchmarks/latency_measure/src/
Dmutex_lock_unlock.c20 static K_MUTEX_DEFINE(test_mutex);
39 k_mutex_lock(&test_mutex, K_NO_WAIT); in start_lock_unlock()
51 k_mutex_unlock(&test_mutex); in start_lock_unlock()
91 k_thread_access_grant(&start_thread, &test_mutex, &pause_sem); in mutex_lock_unlock()
/Zephyr-latest/tests/subsys/portability/cmsis_rtos_v1/src/
Dmutex.c49 ZTEST(cmsis_mutex, test_mutex) in ZTEST() argument
/Zephyr-latest/tests/subsys/portability/cmsis_rtos_v2/src/
Dmutex.c53 ZTEST(cmsis_mutex, test_mutex) in ZTEST() argument
/Zephyr-latest/tests/kernel/mutex/sys_mutex/src/
Dmain.c330 ZTEST_USER_OR_NOT(mutex_complex, test_mutex) in ZTEST_USER_OR_NOT() argument
/Zephyr-latest/doc/releases/
Drelease-notes-1.13.rst311 * :github:`9677` - tests:cmsis_rtos_v1: test_mutex crashes with bus fault on sam_e70_xplained