Home
last modified time | relevance | path

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

/hardware/interfaces/sensors/2.0/multihal/
DHalProxy.cpp185 mThreadsRun.store(true); in initialize()
283 stream << " Threads are running: " << (mThreadsRun.load() ? "true" : "false") << std::endl; in debug()
443 mThreadsRun.store(false); in stopThreads()
485 while (mThreadsRun.load()) { in handlePendingWrites()
487 lock, [&] { return !mPendingWriteEventsQueue.empty() || !mThreadsRun.load(); }); in handlePendingWrites()
488 if (mThreadsRun.load()) { in handlePendingWrites()
529 while (mThreadsRun.load()) { in handleWakelocks()
530 mWakelockCV.wait(lock, [&] { return mWakelockRefCount > 0 || !mThreadsRun.load(); }); in handleWakelocks()
531 if (mThreadsRun.load()) { in handleWakelocks()
603 if (!mThreadsRun.load()) return false; in incrementRefCountAndMaybeAcquireWakelock()
[all …]
/hardware/interfaces/sensors/2.0/multihal/include/
DHalProxy.h129 bool areThreadsRunning() { return mThreadsRun.load(); } in areThreadsRunning()
225 std::atomic_bool mThreadsRun = true; variable