Lines Matching refs:pthread_rwlock_t
665 pthread_rwlock_t lock1 = PTHREAD_RWLOCK_INITIALIZER;
666 pthread_rwlock_t lock2;
672 pthread_rwlock_t l;
720 pthread_rwlock_t lock;
730 std::function<int (pthread_rwlock_t*)> trylock_function;
731 std::function<int (pthread_rwlock_t*)> lock_function;
732 std::function<int (pthread_rwlock_t*, const timespec*)> timed_lock_function;
748 static void test_pthread_rwlock_reader_wakeup_writer(std::function<int (pthread_rwlock_t*)> lock_function) {
779 test_pthread_rwlock_reader_wakeup_writer([&](pthread_rwlock_t* lock) {
784 static void test_pthread_rwlock_writer_wakeup_reader(std::function<int (pthread_rwlock_t*)> lock_function) {
815 test_pthread_rwlock_writer_wakeup_reader([&](pthread_rwlock_t* lock) {
897 pthread_rwlock_t lock;
1738 pthread_rwlock_t* rwlock = reinterpret_cast<pthread_rwlock_t*>(
1739 allocator.allocate(sizeof(pthread_rwlock_t), 4));