Lines Matching defs:loop
732 // UV_RUN_DEFAULT: Runs the event loop until the reference count drops to zero. Always returns zero.
735 // expected meaning you should run the event loop again sometime in the future).
742 if (closeRetry > 2) { // 2:try 2 times close,the 3rd try shows uv loop cannot close.
762 WRITE_LOG(LOG_DEBUG, "Try close loop success");
773 // UV_RUN_DEFAULT: Runs the event loop until the reference count drops to zero. Always returns zero.
776 // expected meaning you should run the event loop again sometime in the future).
783 if (closeRetry > 2) { // 2:try 2 times close,the 3rd try shows uv loop cannot close.
813 WRITE_LOG(LOG_DEBUG, "Try close loop success");
835 if (handle->loop && !uv_is_closing(handle)) {
1094 int StartWorkThread(uv_loop_t *loop, uv_work_cb pFuncWorkThread,
1102 uv_queue_work(loop, workThread, pFuncWorkThread, pFuncAfterThread);
1889 bool IdleUvTask(uv_loop_t *loop, void *data, uv_idle_cb cb)
1896 uv_idle_init(loop, idle);
1902 bool TimerUvTask(uv_loop_t *loop, void *data, uv_timer_cb cb, int repeatTimeout)
1909 uv_timer_init(loop, timer);
1916 bool DelayDo(uv_loop_t *loop, const int delayMs, const uint8_t flag, string msg, void *data,
1943 uv_timer_init(loop, &st->handle);