[eio] Bug breaking on maxreqs

ry at tinyclouds.org ry at tinyclouds.org
Tue Jan 5 17:59:10 CET 2010

On Tue, Jan 5, 2010 at 1:53 AM, Marc Lehmann <schmorp at schmorp.de> wrote:
> On Mon, Jan 04, 2010 at 11:56:51PM -0800, ry at tinyclouds.org wrote:
>> If you send many requests to eio and set either max_poll_reqs or
>> max_poll_time, then it is possible to get into a situation where
> A fair amount of testing has gone into these situations - in short,
> done_poll_cb should not get called unless the queue really is empty.
> Are you sure you keep invoking etp_poll until done_poll_cb has been
> called?

No - I guess I'm doing it wrong: I'm using ev_async and calling
ev_async_send() on each want_poll call. The ev_async callback simply
calls eio_poll(). done_poll_cb is ignored in my app.

More information about the libev mailing list