Hello, if I want run a call on next round(Heavily use), what api should I 
use?
uv_timer_start(handle,cb,0,0) ?
uv_queue_work(loop,req,0,after_work_cb) ?

I have a loop, for example(Just for demo, the real code is different):
  void do_loop(CONTEXT *ctx) {
    ... 
    ...
    ctx->last_notifed = ctx->last_notifed->next;
    if (ctx->last != ctx->last_notifed) {
      *do_loop**(ctx);*
    }
  }

For some reasons(the code is auto generated), I cann't use while and for, 
the link list is very long, call in recursion way, will cause stack 
overflow.
I want replace the `do_loop(ctx);` with some thing like this: 
`uv_some_name_i_dont_know(loop, req, do_loop);` to avoid stack overflow.

Any suggestion is welcome, thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"libuv" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/libuv.
For more options, visit https://groups.google.com/d/optout.

Reply via email to