Home
last modified time | relevance | path

Searched refs:g_muxLock (Results 1 – 3 of 3) sorted by relevance

/kernel/liteos_a/testsuites/unittest/process/lock/mutex/smoke/
Dpthread_mutex_test_009.cpp34 static pthread_mutex_t g_muxLock; variable
39 ret = pthread_mutex_trylock(&g_muxLock); in TaskF01()
44 ret = pthread_mutex_lock(&g_muxLock); in TaskF01()
47 ret = pthread_mutex_unlock(&g_muxLock); in TaskF01()
67 ret = pthread_mutex_init(&g_muxLock, &mutexAttr); in TestCase()
70 ret = pthread_mutex_lock(&g_muxLock); in TestCase()
86 ret = pthread_mutex_unlock(&g_muxLock); in TestCase()
94 ret = pthread_mutex_lock(&g_muxLock); in TestCase()
97 ret = pthread_mutex_lock(&g_muxLock); in TestCase()
100 ret = pthread_mutex_lock(&g_muxLock); in TestCase()
[all …]
Dpthread_mutex_test_002.cpp33 static pthread_mutex_t g_muxLock; variable
52 ret = pthread_mutex_lock(&g_muxLock); in ThreadFuncTest3()
57 ret = pthread_mutex_unlock(&g_muxLock); in ThreadFuncTest3()
75 pthread_mutex_init(&g_muxLock, &mutex); in Testcase()
89 ret = pthread_mutex_lock(&g_muxLock); in Testcase()
106 ret = pthread_mutex_unlock(&g_muxLock); in Testcase()
117 pthread_mutex_destroy(&g_muxLock); in Testcase()
Dpthread_mutex_test_003.cpp34 static pthread_mutex_t g_muxLock; variable
50 ret = pthread_mutex_lock(&g_muxLock); in ThreadFuncTest3()
66 ret = pthread_mutex_unlock(&g_muxLock); in ThreadFuncTest3()
86 pthread_mutex_init(&g_muxLock, &mutex); in Testcase()
93 ret = pthread_mutex_lock(&g_muxLock); in Testcase()
140 ret = pthread_mutex_unlock(&g_muxLock); in Testcase()
147 pthread_mutex_destroy(&g_muxLock); in Testcase()