Home
last modified time | relevance | path

Searched refs:stopStatus_ (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/base/telephony/call_manager/utils/include/
H A Dtimer.h35 Timer() : stopStatus_(true), tryStopFlag_(false) {} in Timer()
39 stopStatus_ = timer.stopStatus_.load(); in Timer()
50 if (stopStatus_ == false) { in start()
53 stopStatus_ = false; in start()
63 stopStatus_ = true; in start()
72 if (stopStatus_ || tryStopFlag_) { in stop()
78 timerCond_.wait(locker, [this] { return stopStatus_ == true; }); in stop()
80 if (stopStatus_ == true) in stop()
88 stopStatus_ = true; in ThreadExit()
93 std::atomic<bool> stopStatus_;
/ohos5.0/foundation/communication/netmanager_base/services/common/include/
H A Dffrt_timer.h36 FfrtTimer() : stopStatus_(true), tryStopFlag_(false) {} in FfrtTimer()
40 stopStatus_ = timer.stopStatus_.load(); in FfrtTimer()
51 if (stopStatus_ == false) { in Start()
55 stopStatus_ = false; in Start()
65 stopStatus_ = true; in Start()
73 if (stopStatus_ || tryStopFlag_) { in Stop()
79 timerCond_.wait(locker, [this] { return stopStatus_ == true; }); in Stop()
81 if (stopStatus_ == true) { in Stop()
105 std::atomic<bool> stopStatus_;
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/
H A Dclatd.cpp57 stopStatus_ = true; in Clatd()
67 if (!stopStatus_) { in Start()
72 stopStatus_ = false; in Start()
78 if (stopStatus_) { in Stop()
86 cv_.wait(lck, [this] { return stopStatus_ == true; }); in Stop()
149 stopStatus_ = true; in RunLoop()
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/include/netsys/
H A Dclatd.h63 std::atomic<bool> stopStatus_; variable