Home
last modified time | relevance | path

Searched refs:mThreadControlMutex (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/surfaceflinger/
DRegionSamplingThread.h113 std::mutex mThreadControlMutex; variable
115 bool mRunning GUARDED_BY(mThreadControlMutex) = true;
116 bool mSampleRequested GUARDED_BY(mThreadControlMutex) = false;
118 GUARDED_BY(mThreadControlMutex);
119 std::chrono::steady_clock::time_point mLastSampleTime GUARDED_BY(mThreadControlMutex);
DRegionSamplingThread.cpp124 std::lock_guard lock(mThreadControlMutex); in ~RegionSamplingThread()
148 std::lock_guard lock(mThreadControlMutex); in checkForStaleLuma()
164 std::lock_guard lock(mThreadControlMutex); in doSample()
390 std::unique_lock<std::mutex> lock(mThreadControlMutex); in threadMain()
398 mCondition.wait(lock, [this]() REQUIRES(mThreadControlMutex) { in threadMain()