Hi

> The easiest thing to do here is to use the event_active() call to make
> the event active now.  But it doesn't do quite what you asked for: the
> callback will be run later in the current iteration of the loop, not
> in the next iteration.  If it  needs to be in the next iteration, I
> can't offhand think of a better way than adding an event with a 0
> callback.

no that's exactly what I need. I just have to return form the callback
function because buffer_chain_free has to finish and after that the
new function can be called.

Thanks :-)
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkeymail.org/mailman/listinfo/libevent-users

Reply via email to