Searched refs:pthread_rwlock_t (Results 1 – 13 of 13) 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 | 46 static pthread_rwlock_t g_thread_list_lock = PTHREAD_RWLOCK_INITIALIZER;
|
D | pthread_internal.h | 276 extern pthread_rwlock_t g_thread_creation_lock;
|
D | pthread_create.cpp | 395 pthread_rwlock_t g_thread_creation_lock = PTHREAD_RWLOCK_INITIALIZER;
|
/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/include/ |
D | pthread.h | 220 int pthread_rwlock_clockrdlock(pthread_rwlock_t* _Nonnull __rwlock, clockid_t __clock, 222 int pthread_rwlock_clockwrlock(pthread_rwlock_t* _Nonnull __rwlock, clockid_t __clock, 224 int pthread_rwlock_destroy(pthread_rwlock_t* _Nonnull __rwlock); 225 int pthread_rwlock_init(pthread_rwlock_t* _Nonnull __rwlock, const pthread_rwlockattr_t* _Nullable … 226 int pthread_rwlock_rdlock(pthread_rwlock_t* _Nonnull __rwlock); 227 int pthread_rwlock_timedrdlock(pthread_rwlock_t* _Nonnull __rwlock, const struct timespec* _Nullabl… 229 int pthread_rwlock_timedrdlock_monotonic_np(pthread_rwlock_t* _Nonnull __rwlock, 231 int pthread_rwlock_timedwrlock(pthread_rwlock_t* _Nonnull __rwlock, const struct timespec* _Nullabl… 233 int pthread_rwlock_timedwrlock_monotonic_np(pthread_rwlock_t* _Nonnull __rwlock, 235 int pthread_rwlock_tryrdlock(pthread_rwlock_t* _Nonnull __rwlock); [all …]
|
/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 | 138 pthread_rwlock_t rwlock = PTHREAD_RWLOCK_INITIALIZER;
|
/bionic/tests/ |
D | pthread_test.cpp | 889 pthread_rwlock_t lock1 = PTHREAD_RWLOCK_INITIALIZER; in TEST() 890 pthread_rwlock_t lock2; in TEST() 896 pthread_rwlock_t l; in TEST() 944 pthread_rwlock_t lock; 954 std::function<int (pthread_rwlock_t*)> trylock_function; 955 std::function<int (pthread_rwlock_t*)> lock_function; 956 std::function<int (pthread_rwlock_t*, const timespec*)> timed_lock_function; 973 static void test_pthread_rwlock_reader_wakeup_writer(std::function<int (pthread_rwlock_t*)> lock_fu… in test_pthread_rwlock_reader_wakeup_writer() 1004 test_pthread_rwlock_reader_wakeup_writer([&](pthread_rwlock_t* lock) { in TEST() 1015 [&](pthread_rwlock_t* lock) { return pthread_rwlock_timedwrlock_monotonic_np(lock, &ts); }); in TEST() [all …]
|
/bionic/libc/include/bits/ |
D | pthread_types.h | 90 } pthread_rwlock_t; typedef
|
/bionic/benchmarks/ |
D | pthread_benchmark.cpp | 152 pthread_rwlock_t lock; in BM_pthread_rwlock_read() 165 pthread_rwlock_t lock; in BM_pthread_rwlock_write()
|
/bionic/libc/malloc_debug/ |
D | malloc_debug.cpp | 229 static pthread_rwlock_t lock_; 231 pthread_rwlock_t ScopedConcurrentLock::lock_;
|