HomeSort by relevance Sort by last modified time
    Searched full:s_rwlock (Results 1 - 4 of 4) sorted by null

  /external/valgrind/main/drd/tests/
rwlock_race.c 17 static pthread_rwlock_t s_rwlock; variable
28 pthread_rwlock_rdlock(&s_rwlock);
30 pthread_rwlock_unlock(&s_rwlock);
46 pthread_rwlock_init(&s_rwlock, 0);
51 pthread_rwlock_destroy(&s_rwlock);
rwlock_test.c 23 static pthread_rwlock_t s_rwlock; variable
24 static int s_counter; /* protected by s_rwlock. */
33 r = pthread_rwlock_rdlock(&s_rwlock);
36 r = pthread_rwlock_unlock(&s_rwlock);
38 r = pthread_rwlock_wrlock(&s_rwlock);
41 r = pthread_rwlock_unlock(&s_rwlock);
80 pthread_rwlock_init(&s_rwlock, NULL);
annotate_rwlock.c 34 static rwlock_t s_rwlock; variable
130 rwlock_rdlock(&s_rwlock);
132 rwlock_unlock(&s_rwlock);
133 rwlock_wrlock(&s_rwlock);
135 rwlock_unlock(&s_rwlock);
147 rwlock_init(&s_rwlock);
157 rwlock_destroy(&s_rwlock);
  /external/valgrind/main/helgrind/tests/
annotate_rwlock.c 44 static rwlock_t s_rwlock; variable
144 rwlock_rdlock(&s_rwlock);
146 rwlock_unlock(&s_rwlock);
147 rwlock_wrlock(&s_rwlock);
149 rwlock_unlock(&s_rwlock);
161 rwlock_init(&s_rwlock);
171 rwlock_destroy(&s_rwlock);

Completed in 68 milliseconds