可以在回调中重新设置timer超时,并重新启动timer。 static void timer_cb(struct ev_loop *loop, ev_timer *watcher, ...
確定! 回上一頁