Searched refs:latch (Results 1 - 4 of 4) sorted by relevance
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_multi_test/ |
H A D | probe_thread_test.cpp | 31 std::shared_ptr<TinyCountDownLatch> latch = std::make_shared<TinyCountDownLatch>(2); member 41 latch, latchAll, PROBE_HTTP, "http://test/", "https://test/");
|
/foundation/communication/netmanager_base/services/netconnmanager/src/ |
H A D | net_monitor.cpp | 168 std::shared_ptr<TinyCountDownLatch> latch = std::make_shared<TinyCountDownLatch>(ONE_URL_DETECT_NUM); in SendProbe() local 171 netId_, netBearType_, netLinkInfo_, latch, latchAll, ProbeType::PROBE_HTTP, httpUrl_, httpsUrl_); in SendProbe() 173 netId_, netBearType_, netLinkInfo_, latch, latchAll, ProbeType::PROBE_HTTPS, httpUrl_, httpsUrl_); in SendProbe() 182 latch->Await(std::chrono::milliseconds(PRIMARY_DETECTION_RESULT_WAIT_MS)); in SendProbe() 195 netBearType_, netLinkInfo_, latch, latchAll, ProbeType::PROBE_HTTP, fallbackHttpUrl_, fallbackHttpsUrl_); in SendProbe() 197 netBearType_, netLinkInfo_, latch, latchAll, ProbeType::PROBE_HTTPS, fallbackHttpUrl_, fallbackHttpsUrl_); in SendProbe()
|
H A D | probe_thread.cpp | 55 std::shared_ptr<TinyCountDownLatch> latch, std::shared_ptr<TinyCountDownLatch> latchAll, in ProbeThread() 57 : netId_(netId), probeType_(probeType), latch_(latch), latchAll_(latchAll), httpProbeUrl_(httpUrl), in ProbeThread() 54 ProbeThread(uint32_t netId, NetBearType bearType, const NetLinkInfo &netLinkInfo, std::shared_ptr<TinyCountDownLatch> latch, std::shared_ptr<TinyCountDownLatch> latchAll, ProbeType probeType, std::string httpUrl, std::string httpsUrl) ProbeThread() argument
|
/foundation/communication/netmanager_base/services/netconnmanager/include/ |
H A D | probe_thread.h | 40 std::shared_ptr<TinyCountDownLatch> latch, std::shared_ptr<TinyCountDownLatch> latchAll,
|
Completed in 2 milliseconds