Searched defs:owner_tid (Results 1 - 1 of 1) sorted by relevance

/bionic/libc/bionic/
H A Dpthread_mutex.cpp116 /* a mutex contains a state value and a owner_tid.
125 * The owner_tid is used only in recursive and errorcheck mutex to hold the mutex owner thread tid.
222 atomic_int owner_tid; member in struct:pthread_mutex_internal_t
225 _Atomic(uint16_t) owner_tid; member in struct:pthread_mutex_internal_t
271 atomic_init(&mutex->owner_tid, 0);
401 // __futex_wait always waits on a 32-bit value. But state is 16-bit. For a normal mutex, the owner_tid
404 // owner_tid value in the value argument for __futex_wait, otherwise we may always get EAGAIN error.
413 static_assert(offsetof(pthread_mutex_internal_t, owner_tid) == 2, "");
415 uint32_t owner_tid = atomic_load_explicit(&mutex->owner_tid, memory_order_relaxe
[all...]

Completed in 33 milliseconds