Home
last modified time | relevance | path

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

/hardware/interfaces/sensors/common/default/2.X/multihal/
DHalProxy.cpp244 mThreadsRun.store(true); in initializeCommon()
351 stream << " Threads are running: " << (mThreadsRun.load() ? "true" : "false") << std::endl; in debug()
520 mThreadsRun.store(false); in stopThreads()
562 while (mThreadsRun.load()) { in handlePendingWrites()
564 lock, [&] { return !mPendingWriteEventsQueue.empty() || !mThreadsRun.load(); }); in handlePendingWrites()
565 if (mThreadsRun.load()) { in handlePendingWrites()
606 while (mThreadsRun.load()) { in handleWakelocks()
607 mWakelockCV.wait(lock, [&] { return mWakelockRefCount > 0 || !mThreadsRun.load(); }); in handleWakelocks()
608 if (mThreadsRun.load()) { in handleWakelocks()
680 if (!mThreadsRun.load()) return false; in incrementRefCountAndMaybeAcquireWakelock()
[all …]
/hardware/interfaces/sensors/common/default/2.X/multihal/include/
DHalProxy.h136 bool areThreadsRunning() override { return mThreadsRun.load(); } in areThreadsRunning()
230 std::atomic_bool mThreadsRun = true; variable