Searched refs:pthread_rwlock_t (Results 1 – 11 of 11) sorted by relevance
/bionic/libc/bionic/ |
D | pthread_rwlock.cpp | 214 static_assert(sizeof(pthread_rwlock_t) == sizeof(pthread_rwlock_internal_t), 219 static_assert(alignof(pthread_rwlock_t) == 4, 222 static inline __always_inline pthread_rwlock_internal_t* __get_internal_rwlock(pthread_rwlock_t* rw… in __get_internal_rwlock() 226 int pthread_rwlock_init(pthread_rwlock_t* rwlock_interface, const pthread_rwlockattr_t* attr) { in pthread_rwlock_init() 254 int pthread_rwlock_destroy(pthread_rwlock_t* rwlock_interface) { in pthread_rwlock_destroy() 410 int pthread_rwlock_rdlock(pthread_rwlock_t* rwlock_interface) { in pthread_rwlock_rdlock() 419 int pthread_rwlock_timedrdlock(pthread_rwlock_t* rwlock_interface, const timespec* abs_timeout) { in pthread_rwlock_timedrdlock() 425 int pthread_rwlock_timedrdlock_monotonic_np(pthread_rwlock_t* rwlock_interface, in pthread_rwlock_timedrdlock_monotonic_np() 432 int pthread_rwlock_clockrdlock(pthread_rwlock_t* rwlock_interface, clockid_t clock, in pthread_rwlock_clockrdlock() 444 int pthread_rwlock_tryrdlock(pthread_rwlock_t* rwlock_interface) { in pthread_rwlock_tryrdlock() [all …]
|
D | pthread_internal.cpp | 43 static pthread_rwlock_t g_thread_list_lock = PTHREAD_RWLOCK_INITIALIZER;
|
/bionic/libc/include/ |
D | pthread.h | 237 int pthread_rwlock_clockrdlock(pthread_rwlock_t* __rwlock, clockid_t __clock, 239 int pthread_rwlock_clockwrlock(pthread_rwlock_t* __rwlock, clockid_t __clock, 241 int pthread_rwlock_destroy(pthread_rwlock_t* __rwlock); 242 int pthread_rwlock_init(pthread_rwlock_t* __rwlock, const pthread_rwlockattr_t* __attr); 243 int pthread_rwlock_rdlock(pthread_rwlock_t* __rwlock); 244 int pthread_rwlock_timedrdlock(pthread_rwlock_t* __rwlock, const struct timespec* __timeout); 246 int pthread_rwlock_timedrdlock_monotonic_np(pthread_rwlock_t* __rwlock, 248 int pthread_rwlock_timedwrlock(pthread_rwlock_t* __rwlock, const struct timespec* __timeout); 250 int pthread_rwlock_timedwrlock_monotonic_np(pthread_rwlock_t* __rwlock, 252 int pthread_rwlock_tryrdlock(pthread_rwlock_t* __rwlock); [all …]
|
/bionic/tests/headers/posix/ |
D | pthread_h.c | 73 pthread_rwlock_t rw0 = PTHREAD_RWLOCK_INITIALIZER; in pthread_h() 84 TYPE(pthread_rwlock_t); in pthread_h() 179 FUNCTION(pthread_rwlock_destroy, int (*f)(pthread_rwlock_t*)); in pthread_h() 180 FUNCTION(pthread_rwlock_init, int (*f)(pthread_rwlock_t*, const pthread_rwlockattr_t*)); in pthread_h() 181 FUNCTION(pthread_rwlock_rdlock, int (*f)(pthread_rwlock_t*)); in pthread_h() 182 FUNCTION(pthread_rwlock_timedrdlock, int (*f)(pthread_rwlock_t*, const struct timespec*)); in pthread_h() 183 FUNCTION(pthread_rwlock_timedwrlock, int (*f)(pthread_rwlock_t*, const struct timespec*)); in pthread_h() 184 FUNCTION(pthread_rwlock_tryrdlock, int (*f)(pthread_rwlock_t*)); in pthread_h() 185 FUNCTION(pthread_rwlock_trywrlock, int (*f)(pthread_rwlock_t*)); in pthread_h() 186 FUNCTION(pthread_rwlock_unlock, int (*f)(pthread_rwlock_t*)); in pthread_h() [all …]
|
D | sys_types_h.c | 58 TYPE(pthread_rwlock_t); in sys_types_h()
|
/bionic/libc/private/ |
D | ScopedRWLock.h | 37 explicit ScopedRWLock(pthread_rwlock_t* rwlock) : rwlock_(rwlock) { in ScopedRWLock() 46 pthread_rwlock_t* rwlock_;
|
D | bionic_elf_tls.h | 126 pthread_rwlock_t rwlock = PTHREAD_RWLOCK_INITIALIZER;
|
/bionic/tests/ |
D | pthread_test.cpp | 861 pthread_rwlock_t lock1 = PTHREAD_RWLOCK_INITIALIZER; in TEST() 862 pthread_rwlock_t lock2; in TEST() 868 pthread_rwlock_t l; in TEST() 916 pthread_rwlock_t lock; 926 std::function<int (pthread_rwlock_t*)> trylock_function; 927 std::function<int (pthread_rwlock_t*)> lock_function; 928 std::function<int (pthread_rwlock_t*, const timespec*)> timed_lock_function; 945 static void test_pthread_rwlock_reader_wakeup_writer(std::function<int (pthread_rwlock_t*)> lock_fu… in test_pthread_rwlock_reader_wakeup_writer() 976 test_pthread_rwlock_reader_wakeup_writer([&](pthread_rwlock_t* lock) { in TEST() 987 [&](pthread_rwlock_t* lock) { return pthread_rwlock_timedwrlock_monotonic_np(lock, &ts); }); in TEST() [all …]
|
/bionic/benchmarks/ |
D | pthread_benchmark.cpp | 148 pthread_rwlock_t lock; in BM_pthread_rwlock_read() 161 pthread_rwlock_t lock; in BM_pthread_rwlock_write()
|
/bionic/libc/include/bits/ |
D | pthread_types.h | 90 } pthread_rwlock_t; typedef
|
/bionic/libc/malloc_debug/ |
D | malloc_debug.cpp | 133 static pthread_rwlock_t lock_; 135 pthread_rwlock_t ScopedConcurrentLock::lock_;
|