Home
last modified time | relevance | path

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

/external/valgrind/drd/tests/
Drwlock_race.c17 static pthread_rwlock_t s_rwlock; variable
28 pthread_rwlock_rdlock(&s_rwlock); in thread_func()
30 pthread_rwlock_unlock(&s_rwlock); in thread_func()
46 pthread_rwlock_init(&s_rwlock, 0); in main()
51 pthread_rwlock_destroy(&s_rwlock); in main()
Dannotate_rwlock.c34 static rwlock_t s_rwlock; variable
130 rwlock_rdlock(&s_rwlock); in thread_func()
132 rwlock_unlock(&s_rwlock); in thread_func()
133 rwlock_wrlock(&s_rwlock); in thread_func()
135 rwlock_unlock(&s_rwlock); in thread_func()
147 rwlock_init(&s_rwlock); in main()
157 rwlock_destroy(&s_rwlock); in main()
Drwlock_test.c23 static pthread_rwlock_t s_rwlock; variable
33 r = pthread_rwlock_rdlock(&s_rwlock); in thread_func()
36 r = pthread_rwlock_unlock(&s_rwlock); in thread_func()
38 r = pthread_rwlock_wrlock(&s_rwlock); in thread_func()
41 r = pthread_rwlock_unlock(&s_rwlock); in thread_func()
80 pthread_rwlock_init(&s_rwlock, NULL); in main()
/external/valgrind/helgrind/tests/
Dannotate_rwlock.c44 static rwlock_t s_rwlock; variable
144 rwlock_rdlock(&s_rwlock); in thread_func()
146 rwlock_unlock(&s_rwlock); in thread_func()
147 rwlock_wrlock(&s_rwlock); in thread_func()
149 rwlock_unlock(&s_rwlock); in thread_func()
161 rwlock_init(&s_rwlock); in main()
171 rwlock_destroy(&s_rwlock); in main()