Searched refs:writer_tid (Results 1 – 2 of 2) sorted by relevance
159 atomic_int writer_tid; member291 if (atomic_load_explicit(&rwlock->writer_tid, memory_order_relaxed) == __get_thread()->tid) { in __pthread_rwlock_timedrdlock()354 atomic_store_explicit(&rwlock->writer_tid, __get_thread()->tid, memory_order_relaxed); in __pthread_rwlock_trywrlock()363 if (atomic_load_explicit(&rwlock->writer_tid, memory_order_relaxed) == __get_thread()->tid) { in __pthread_rwlock_timedwrlock()491 if (atomic_load_explicit(&rwlock->writer_tid, memory_order_relaxed) != __get_thread()->tid) { in pthread_rwlock_unlock()494 atomic_store_explicit(&rwlock->writer_tid, 0, memory_order_relaxed); in pthread_rwlock_unlock()
1312 std::atomic<pid_t> writer_tid; in TEST() local1313 helper.CreateWriterThread(writer_thread, writer_tid); in TEST()1314 WaitUntilThreadSleep(writer_tid); in TEST()1330 std::atomic<pid_t> writer_tid; in TEST() local1331 helper.CreateWriterThread(writer_thread, writer_tid); in TEST()1332 WaitUntilThreadSleep(writer_tid); in TEST()