Re: BUG: nice => 1 causes event handler to be called multiple times

2006-12-22 Thread Marc Lehmann
On Sat, Dec 23, 2006 at 04:18:58AM +0100, Marc Lehmann <[EMAIL PROTECTED]> wrote: > is that Event somehow confuses the first and the second poll result: with > nice => 0, fd 8 is always first in poll, with nice => 1, fd 8 sometimes > gets moved intot he second slot, and everytime this happens, I g

BUG: nice => 1 causes event handler to be called multiple times

2006-12-22 Thread Marc Lehmann
Hi! When I use the following code to accept new conections, everything works: use Socket; use IO::Socket::INET; our $LISTEN = new IO::Socket::INET LocalPort => 13327, Listen=> 1, ReuseAddr => 1; Event->io (fd => $LISTEN, nice => 0, poll