Searched refs:writer_tid (Results 1 – 2 of 2) sorted by relevance
159 atomic_int writer_tid; member292 if (atomic_load_explicit(&rwlock->writer_tid, memory_order_relaxed) == __get_thread()->tid) { in __pthread_rwlock_timedrdlock()355 atomic_store_explicit(&rwlock->writer_tid, __get_thread()->tid, memory_order_relaxed); in __pthread_rwlock_trywrlock()365 if (atomic_load_explicit(&rwlock->writer_tid, memory_order_relaxed) == __get_thread()->tid) { in __pthread_rwlock_timedwrlock()455 if (atomic_load_explicit(&rwlock->writer_tid, memory_order_relaxed) != __get_thread()->tid) { in pthread_rwlock_unlock()458 atomic_store_explicit(&rwlock->writer_tid, 0, memory_order_relaxed); in pthread_rwlock_unlock()
959 std::atomic<pid_t> writer_tid; in TEST() local960 helper.CreateWriterThread(writer_thread, writer_tid); in TEST()961 WaitUntilThreadSleep(writer_tid); in TEST()977 std::atomic<pid_t> writer_tid; in TEST() local978 helper.CreateWriterThread(writer_thread, writer_tid); in TEST()979 WaitUntilThreadSleep(writer_tid); in TEST()