[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] missing EINTR handling?



On Tue, Oct 27, 2009 at 8:46 AM, Eric M. Hopper <hopper@xxxxxxxxxxxxxxx> wrote:
> Actually, EINTR can be useful for moving signal handling back into the
> normal flow of a program.  EINTR tells you that one happened so you can
> go back to the main event loop and dispatch the signal handler if need
> be.
>
> I don't know that libevent does this, but that's what I think EINTR is
> useful for.

In almost all other places, libevent checks for both EINTR and EAGAIN.
  It should probably do so here, too.   The same issue seems to exist
in trunk.

Niels.
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.