Searched refs:reasonsLock (Results 1 – 1 of 1) sorted by relevance
104 std::unique_lock<std::mutex> reasonsLock(mReasonsMutex, std::defer_lock); in notifyWakeup() local105 if (reasonsLock.try_lock() && mWakeupReasons.empty()) { in notifyWakeup()171 std::unique_lock<std::mutex> reasonsLock(mReasonsMutex, std::defer_lock); in nativeWaitWakeup() local172 if (reasonsLock.try_lock() && !mWakeupReasons.empty()) { in nativeWaitWakeup()