Home
last modified time | relevance | path

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

/kernel/liteos_a/testsuites/kernel/sample/posix/mutex/full/
DIt_posix_mutex_038.c40 static pthread_mutex_t g_mutex038; variable
47 ret = pthread_mutex_trylock(&g_mutex038); in TaskF01()
56 if ((ret = pthread_mutex_lock(&g_mutex038))) { in TaskF01()
64 if ((ret = pthread_mutex_unlock(&g_mutex038))) { in TaskF01()
90 if ((ret = pthread_mutex_init(&g_mutex038, &ma))) { in Testcase()
98 if ((ret = pthread_mutex_lock(&g_mutex038))) { in Testcase()
102 if ((ret = pthread_mutex_lock(&g_mutex038))) { in Testcase()
106 if ((ret = pthread_mutex_unlock(&g_mutex038))) { in Testcase()
118 if ((ret = pthread_mutex_unlock(&g_mutex038))) { in Testcase()
126 ret = pthread_mutex_unlock(&g_mutex038); in Testcase()
[all …]
/kernel/liteos_m/testsuites/sample/posix/mutex/
DIt_posix_mutex_037.c33 static pthread_mutex_t g_mutex038; variable
40 ret = pthread_mutex_trylock(&g_mutex038); in TaskF01()
46 ret = pthread_mutex_lock(&g_mutex038); in TaskF01()
52 ret = pthread_mutex_unlock(&g_mutex038); in TaskF01()
75 ret = pthread_mutex_init(&g_mutex038, &ma); in Testcase()
81 ret = pthread_mutex_lock(&g_mutex038); in Testcase()
84 ret = pthread_mutex_lock(&g_mutex038); in Testcase()
87 ret = pthread_mutex_unlock(&g_mutex038); in Testcase()
96 ret = pthread_mutex_unlock(&g_mutex038); in Testcase()
102 ret = pthread_mutex_unlock(&g_mutex038); in Testcase()
[all …]