Searched refs:held_read_locks (Results 1 - 2 of 2) sorted by relevance

/haiku/src/system/kernel/locks/
H A Dlock.cpp453 for (size_t i = 0; i < B_COUNT_OF(Thread::held_read_locks); i++) {
454 if (thread->held_read_locks[i] == lock)
465 for (size_t i = 0; i < B_COUNT_OF(Thread::held_read_locks); i++) {
466 if (thread->held_read_locks[i] != NULL)
469 thread->held_read_locks[i] = lock;
480 for (size_t i = 0; i < B_COUNT_OF(Thread::held_read_locks); i++) {
481 if (thread->held_read_locks[i] != lock)
484 thread->held_read_locks[i] = NULL;
/haiku/headers/private/kernel/
H A Dthread_types.h551 rw_lock* held_read_locks[64] = {}; // only modified by this thread member in struct:BKernel::Thread

Completed in 48 milliseconds