Searched refs:pthread_rwlock_t (Results 1 - 6 of 6) sorted by relevance
/bionic/libc/upstream-netbsd/android/include/ |
H A D | reentrant.h | 35 #define rwlock_t pthread_rwlock_t
|
/bionic/libc/include/ |
H A D | pthread.h | 82 } 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 D | pthread_rwlock.cpp | 214 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 D | pthread_benchmark.cpp | 127 pthread_rwlock_t lock; 143 pthread_rwlock_t lock;
|
/bionic/libc/include/sys/ |
H A D | types.h | 113 typedef .... pthread_rwlock_t;
|
/bionic/tests/ |
H A D | pthread_test.cpp | 667 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