Home
last modified time | relevance | path

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

/Zephyr-latest/tests/subsys/portability/cmsis_rtos_v1/src/
Dmutex.c19 void cleanup_max_mutex(osMutexId *mutex_ids) in cleanup_max_mutex() argument
25 status = osMutexDelete(mutex_ids[mutex_count]); in cleanup_max_mutex()
32 osMutexId mutex_ids[CONFIG_CMSIS_MUTEX_MAX_COUNT + 1]; in test_max_mutex() local
37 mutex_ids[mtx_cnt] = osMutexCreate(osMutex(Mutex_multi)); in test_max_mutex()
39 zassert_true(mutex_ids[mtx_cnt] == NULL, in test_max_mutex()
41 cleanup_max_mutex(mutex_ids); 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.c23 void cleanup_max_mutex(osMutexId_t *mutex_ids) in cleanup_max_mutex() argument
29 status = osMutexDelete(mutex_ids[mutex_count]); in cleanup_max_mutex()
36 osMutexId_t mutex_ids[CONFIG_CMSIS_V2_MUTEX_MAX_COUNT + 1]; in test_max_mutex() local
41 mutex_ids[mtx_cnt] = osMutexNew(&mutex_attr); in test_max_mutex()
43 zassert_true(mutex_ids[mtx_cnt] == NULL, in test_max_mutex()
45 cleanup_max_mutex(mutex_ids); in test_max_mutex()
47 zassert_true(mutex_ids[mtx_cnt] != NULL, in test_max_mutex()