Searched refs:pthread_rwlock_t (Results 1 - 6 of 6) sorted by relevance

/bionic/libc/upstream-netbsd/android/include/
H A Dreentrant.h35 #define rwlock_t pthread_rwlock_t
/bionic/libc/include/
H A Dpthread.h82 } pthread_rwlock_t; typedef in typeref:struct:__anon55
201 int pthread_rwlock_destroy(pthread_rwlock_t*) __nonnull((1));
202 int pthread_rwlock_init(pthread_rwlock_t*, const pthread_rwlockattr_t*) __nonnull((1));
203 int pthread_rwlock_rdlock(pthread_rwlock_t*) __nonnull((1));
204 int pthread_rwlock_timedrdlock(pthread_rwlock_t*, const struct timespec*) __nonnull((1, 2));
205 int pthread_rwlock_timedwrlock(pthread_rwlock_t*, const struct timespec*) __nonnull((1, 2));
206 int pthread_rwlock_tryrdlock(pthread_rwlock_t*) __nonnull((1));
207 int pthread_rwlock_trywrlock(pthread_rwlock_t*) __nonnull((1));
208 int pthread_rwlock_unlock(pthread_rwlock_t *rwlock) __nonnull((1));
209 int pthread_rwlock_wrlock(pthread_rwlock_t*) __nonnul
[all...]
/bionic/libc/bionic/
H A Dpthread_rwlock.cpp214 static_assert(sizeof(pthread_rwlock_t) == sizeof(pthread_rwlock_internal_t),
215 "pthread_rwlock_t should actually be pthread_rwlock_internal_t in implementation.");
217 // For binary compatibility with old version of pthread_rwlock_t, we can't use more strict
219 static_assert(alignof(pthread_rwlock_t) == 4,
220 "pthread_rwlock_t should fulfill the alignment requirement of pthread_rwlock_internal_t.");
222 static inline __always_inline pthread_rwlock_internal_t* __get_internal_rwlock(pthread_rwlock_t* rwlock_interface) {
226 int pthread_rwlock_init(pthread_rwlock_t* rwlock_interface, const pthread_rwlockattr_t* attr) {
254 int pthread_rwlock_destroy(pthread_rwlock_t* rwlock_interface) {
424 int pthread_rwlock_rdlock(pthread_rwlock_t* rwlock_interface) {
433 int pthread_rwlock_timedrdlock(pthread_rwlock_t* rwlock_interfac
[all...]
/bionic/benchmarks/
H A Dpthread_benchmark.cpp127 pthread_rwlock_t lock;
143 pthread_rwlock_t lock;
/bionic/libc/include/sys/
H A Dtypes.h113 typedef .... pthread_rwlock_t;
/bionic/tests/
H A Dpthread_test.cpp667 pthread_rwlock_t lock1 = PTHREAD_RWLOCK_INITIALIZER;
668 pthread_rwlock_t lock2;
674 pthread_rwlock_t l;
739 pthread_rwlock_t lock;
829 pthread_rwlock_t lock;
1527 pthread_rwlock_t* rwlock = reinterpret_cast<pthread_rwlock_t*>(
1528 allocator.allocate(sizeof(pthread_rwlock_t), 4));

Completed in 46 milliseconds