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.cpp242 mThreadsRun.store(true); in initializeCommon()
349 stream << " Threads are running: " << (mThreadsRun.load() ? "true" : "false") << std::endl; in debug()
518 mThreadsRun.store(false); in stopThreads()
560 while (mThreadsRun.load()) { in handlePendingWrites()
562 lock, [&] { return !mPendingWriteEventsQueue.empty() || !mThreadsRun.load(); }); in handlePendingWrites()
563 if (mThreadsRun.load()) { in handlePendingWrites()
604 while (mThreadsRun.load()) { in handleWakelocks()
605 mWakelockCV.wait(lock, [&] { return mWakelockRefCount > 0 || !mThreadsRun.load(); }); in handleWakelocks()
606 if (mThreadsRun.load()) { in handleWakelocks()
678 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