Searched refs:writer_tid (Results 1 – 2 of 2) sorted by relevance
160 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()364 if (atomic_load_explicit(&rwlock->writer_tid, memory_order_relaxed) == __get_thread()->tid) { in __pthread_rwlock_timedwrlock()492 if (atomic_load_explicit(&rwlock->writer_tid, memory_order_relaxed) != __get_thread()->tid) { in pthread_rwlock_unlock()495 atomic_store_explicit(&rwlock->writer_tid, 0, memory_order_relaxed); in pthread_rwlock_unlock()
1345 std::atomic<pid_t> writer_tid; in TEST() local1346 helper.CreateWriterThread(writer_thread, writer_tid); in TEST()1347 WaitUntilThreadSleep(writer_tid); in TEST()1367 std::atomic<pid_t> writer_tid; in TEST() local1368 helper.CreateWriterThread(writer_thread, writer_tid); in TEST()1369 WaitUntilThreadSleep(writer_tid); in TEST()