HomeSort by relevance Sort by last modified time
    Searched refs:writer_tid (Results 1 - 2 of 2) sorted by null

  /bionic/libc/bionic/
pthread_rwlock.cpp 159 atomic_int writer_tid; member in struct:pthread_rwlock_internal_t
292 if (atomic_load_explicit(&rwlock->writer_tid, memory_order_relaxed) == __get_thread()->tid) {
355 atomic_store_explicit(&rwlock->writer_tid, __get_thread()->tid, memory_order_relaxed);
365 if (atomic_load_explicit(&rwlock->writer_tid, memory_order_relaxed) == __get_thread()->tid) {
455 if (atomic_load_explicit(&rwlock->writer_tid, memory_order_relaxed) != __get_thread()->tid) {
458 atomic_store_explicit(&rwlock->writer_tid, 0, memory_order_relaxed);
  /bionic/tests/
pthread_test.cpp 959 std::atomic<pid_t> writer_tid; local
960 helper.CreateWriterThread(writer_thread, writer_tid);
961 WaitUntilThreadSleep(writer_tid);
977 std::atomic<pid_t> writer_tid; local
978 helper.CreateWriterThread(writer_thread, writer_tid);
979 WaitUntilThreadSleep(writer_tid);
    [all...]

Completed in 221 milliseconds