Home
last modified time | relevance | path

Searched refs:g_mutexLock (Results 1 – 4 of 4) sorted by relevance

/kernel/liteos_a/testsuites/unittest/process/lock/mutex/smoke/
Dpthread_mutex_test_017.cpp33 static pthread_mutex_t g_mutexLock; variable
47 ret = pthread_mutex_lock(&g_mutexLock); in ThreadFuncTest3()
51 ret = pthread_mutex_unlock(&g_mutexLock); in ThreadFuncTest3()
63 ret = pthread_mutex_lock(&g_mutexLock); in ThreadFuncTest2()
67 ret = pthread_mutex_unlock(&g_mutexLock); in ThreadFuncTest2()
83 pthread_mutex_init(&g_mutexLock, &mutex); in TestCase()
90 ret = pthread_mutex_lock(&g_mutexLock); in TestCase()
118 ret = pthread_mutex_unlock(&g_mutexLock); in TestCase()
127 pthread_mutex_destroy(&g_mutexLock); in TestCase()
Dpthread_mutex_test_001.cpp33 static pthread_mutex_t g_mutexLock; variable
52 ret = pthread_mutex_lock(&g_mutexLock); in ThreadFuncTest3()
58 ret = pthread_mutex_unlock(&g_mutexLock); in ThreadFuncTest3()
72 pthread_mutex_init(&g_mutexLock, &mutex); in Testcase()
78 ret = pthread_mutex_lock(&g_mutexLock); in Testcase()
88 ret = pthread_mutex_unlock(&g_mutexLock); in Testcase()
99 pthread_mutex_destroy(&g_mutexLock); in Testcase()
/kernel/liteos_a/testsuites/unittest/process/lock/mutex/full/
Dpthread_mutex_test_023.cpp33 static pthread_mutex_t g_mutexLock; variable
39 int ret = pthread_mutex_lock(&g_mutexLock); in ThreadFuncTest1()
52 int ret = pthread_mutex_lock(&g_mutexLock); in ThreadFuncTest2()
55 ret = pthread_mutex_consistent(&g_mutexLock); in ThreadFuncTest2()
59 ret = pthread_mutex_unlock(&g_mutexLock); in ThreadFuncTest2()
87 pthread_mutex_init(&g_mutexLock, &attr); in Testcase()
108 pthread_mutex_destroy(&g_mutexLock); in Testcase()
Dpthread_mutex_test_025.cpp33 static pthread_mutex_t g_mutexLock; variable
39 int ret = pthread_mutex_lock(&g_mutexLock); in ThreadFuncTest1()
52 int ret = pthread_mutex_lock(&g_mutexLock); in ThreadFuncTest2()
55 ret = pthread_mutex_consistent(&g_mutexLock); in ThreadFuncTest2()
59 ret = pthread_mutex_unlock(&g_mutexLock); in ThreadFuncTest2()
93 pthread_mutex_init(&g_mutexLock, &attr); in Child()
116 pthread_mutex_destroy(&g_mutexLock); in Child()