Lines Matching refs:state
109 RecursiveLockWait* state = reinterpret_cast<RecursiveLockWait*>(arg); in RecursiveLockWaitCallback() local
110 state->mu.Lock(Thread::Current()); in RecursiveLockWaitCallback()
111 state->cv.Signal(Thread::Current()); in RecursiveLockWaitCallback()
112 state->mu.Unlock(Thread::Current()); in RecursiveLockWaitCallback()
118 RecursiveLockWait state; in RecursiveLockWaitTest() local
119 state.mu.Lock(Thread::Current()); in RecursiveLockWaitTest()
120 state.mu.Lock(Thread::Current()); in RecursiveLockWaitTest()
123 int pthread_create_result = pthread_create(&pthread, nullptr, RecursiveLockWaitCallback, &state); in RecursiveLockWaitTest()
126 state.cv.Wait(Thread::Current()); in RecursiveLockWaitTest()
128 state.mu.Unlock(Thread::Current()); in RecursiveLockWaitTest()
129 state.mu.Unlock(Thread::Current()); in RecursiveLockWaitTest()