Bert Belder wrote:
>
> On Wednesday, October 3, 2012 1:23:03 AM UTC+2, Bert Belder wrote:
>
>
>
> On Wednesday, October 3, 2012 1:04:29 AM UTC+2, Ben Noordhuis wrote:
>
> On Wed, Oct 3, 2012 at 12:51 AM, Bert Belder
> <
bertb...@gmail.com> wrote:
> > Could we come up with something better, e.g. the ability to
> insert a special
> > type of req into the request queue?
> >
> > uv_custom_t* req = malloc(sizeof *req);
> > uv_feed(req, callback);
>
> When would that run and how would it be different from a prepare or
> check handle?
>
>
> Somewhere in the future, with the guarantee that the loop doesn't
> "wait" before that, somewhat similar to process.nextTick(). The
> guarantee that the loop will not block is what makes it different
> from prepare/check. Prepare/check watchers are abused by many,
> including node. See
>
http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod#code_ev_prepare_code_and_code_ev_che
block and wait or something like that. Or maybe my subconscious is