Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/membarrier/
H A Dmembarrier_test_multi_thread.c13 static pthread_mutex_t test_membarrier_thread_mutex = variable
20 pthread_mutex_lock(&test_membarrier_thread_mutex); in test_membarrier_thread()
23 pthread_mutex_unlock(&test_membarrier_thread_mutex); in test_membarrier_thread()
25 pthread_mutex_lock(&test_membarrier_thread_mutex); in test_membarrier_thread()
28 &test_membarrier_thread_mutex); in test_membarrier_thread()
29 pthread_mutex_unlock(&test_membarrier_thread_mutex); in test_membarrier_thread()
42 pthread_mutex_lock(&test_membarrier_thread_mutex); in test_mt_membarrier()
45 &test_membarrier_thread_mutex); in test_mt_membarrier()
46 pthread_mutex_unlock(&test_membarrier_thread_mutex); in test_mt_membarrier()
52 pthread_mutex_lock(&test_membarrier_thread_mutex); in test_mt_membarrier()
[all …]