Home
last modified time | relevance | path

Searched refs:mtx_cnt (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/tests/subsys/portability/cmsis_rtos_v1/src/
Dmutex.c33 int mtx_cnt = 0; in test_max_mutex() local
36 for (mtx_cnt = 0; mtx_cnt < max_mtx_cnt + 1; mtx_cnt++) { in test_max_mutex()
37 mutex_ids[mtx_cnt] = osMutexCreate(osMutex(Mutex_multi)); in test_max_mutex()
38 if (mtx_cnt == max_mtx_cnt) { in test_max_mutex()
39 zassert_true(mutex_ids[mtx_cnt] == NULL, in test_max_mutex()
43 zassert_true(mutex_ids[mtx_cnt] != NULL, in test_max_mutex()
/Zephyr-latest/tests/subsys/portability/cmsis_rtos_v2/src/
Dmutex.c37 int mtx_cnt = 0; in test_max_mutex() local
40 for (mtx_cnt = 0; mtx_cnt < max_mtx_cnt + 1; mtx_cnt++) { in test_max_mutex()
41 mutex_ids[mtx_cnt] = osMutexNew(&mutex_attr); in test_max_mutex()
42 if (mtx_cnt == max_mtx_cnt) { in test_max_mutex()
43 zassert_true(mutex_ids[mtx_cnt] == NULL, in test_max_mutex()
47 zassert_true(mutex_ids[mtx_cnt] != NULL, in test_max_mutex()