Re: serious bug in Event's poll implementation

2002-02-02 Thread Allen Smith
On Feb 1, 2:09am, Joshua N Pritikin wrote: > On Tue, Jan 29, 2002 at 06:03:21AM +0100, Marc A. Lehmann wrote: > > On Mon, Jan 28, 2002 at 06:43:59PM -0500, Allen Smith > > <[EMAIL PROTECTED]> wrote: > > > > If an filehandle returns POLLHUP or POLLERR Event goes into an > > > > endless CPU-eatin

Re: serious bug in Event's poll implementation

2002-01-31 Thread Joshua N Pritikin
On Tue, Jan 29, 2002 at 06:03:21AM +0100, Marc A. Lehmann wrote: > On Mon, Jan 28, 2002 at 06:43:59PM -0500, Allen Smith <[EMAIL PROTECTED]> >wrote: > > > If an filehandle returns POLLHUP or POLLERR Event goes into an > > > endless CPU-eating poll-loop. > > > > Ouch! Yes, the current code woul

Re: serious bug in Event's poll implementation

2002-01-29 Thread pcg
On Mon, Jan 28, 2002 at 06:43:59PM -0500, Allen Smith <[EMAIL PROTECTED]> wrote: > > If an filehandle returns POLLHUP or POLLERR Event goes into an > > endless CPU-eating poll-loop. > > Ouch! Yes, the current code would do this... this needs to be fixed, > definitely. It's not as if this hasn't

Re: serious bug in Event's poll implementation

2002-01-28 Thread Allen Smith
On Jul 24, 7:57pm, wrote: > I just found that Event goes into an endless polling loop whenever an error > occurs on a filehandle: > >poll([{fd=3, events=POLLPRI|POLLOUT|POLLWRNORM|POLLRDBAND|POLLWRBAND, >revents=POLLERR|POLLHUP}], 1, 6) = 1 >gettimeofday({995996622, 745496}, NULL)

serious bug in Event's poll implementation

2001-07-24 Thread pcg
I just found that Event goes into an endless polling loop whenever an error occurs on a filehandle: poll([{fd=3, events=POLLPRI|POLLOUT|POLLWRNORM|POLLRDBAND|POLLWRBAND, revents=POLLERR|POLLHUP}], 1, 6) = 1 gettimeofday({995996622, 745496}, NULL) = 0 poll([{fd=3, events=POLLPRI|POLL