Home
last modified time | relevance | path

Searched refs:ptrLoop (Results 1 – 5 of 5) sorted by relevance

/developtools/hdc/src/test/jdwp/
Dmain.cpp58 static bool TryCloseLoop(uv_loop_t *ptrLoop, const char *callerName) in TryCloseLoop() argument
65 if (uv_loop_close(ptrLoop) == UV_EBUSY) { in TryCloseLoop()
70 if (ptrLoop->active_handles >= maxHandle) { in TryCloseLoop()
76 uv_walk(ptrLoop, clearLoopTask, nullptr); in TryCloseLoop()
78 if (!ptrLoop->active_handles) { in TryCloseLoop()
82 if (!uv_run(ptrLoop, UV_RUN_ONCE)) { in TryCloseLoop()
/developtools/hdc/src/daemon/
Ddaemon_bridge.cpp63 uv_loop_t *ptrLoop = uvpipe->loop; in AcceptClient() local
92 … Base::StartWorkThread(ptrLoop, ptrConnect->SessionWorkThread, Base::FinishWorkThread, hSession); in AcceptClient()
Ddaemon_tcp.cpp71 uv_loop_t *ptrLoop = server->loop; in AcceptClient() local
92 Base::StartWorkThread(ptrLoop, ptrConnect->SessionWorkThread, Base::FinishWorkThread, hSession); in AcceptClient()
/developtools/hdc/src/common/
Dbase.cpp440 bool TryCloseLoop(uv_loop_t *ptrLoop, const char *callerName) in TryCloseLoop() argument
451 if (uv_loop_close(ptrLoop) == UV_EBUSY) { in TryCloseLoop()
456 if (ptrLoop->active_handles >= 2) { // 2:at least 2 handles for read & write. in TryCloseLoop()
460 uv_walk(ptrLoop, clearLoopTask, nullptr); in TryCloseLoop()
462 if (!ptrLoop->active_handles) { in TryCloseLoop()
466 if (!uv_run(ptrLoop, UV_RUN_ONCE)) { in TryCloseLoop()
481 bool TryCloseChildLoop(uv_loop_t *ptrLoop, const char *callerName) in TryCloseChildLoop() argument
492 if (uv_loop_close(ptrLoop) == UV_EBUSY) { in TryCloseChildLoop()
497 if (ptrLoop->active_handles >= 2) { // 2:at least 2 handles for read & write. in TryCloseChildLoop()
501 uv_walk(ptrLoop, clearLoopTask, nullptr); in TryCloseChildLoop()
[all …]
Dbase.h51 bool TryCloseLoop(uv_loop_t *ptrLoop, const char *callerName);
52 bool TryCloseChildLoop(uv_loop_t *ptrLoop, const char *callerName);