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 get the
> problem.
>
> This is just a quick guess at whats happening.
> A quick guess of what might have happened (without looking at the code)
The same bug happens when I force the use of select instead of poll:
select(9, [5 7 8], [], [], {0, 0}) = 1 (in [8], left {0, 0})
accept(8, {sa_family=AF_INET, sin_port=htons(46735),
sin_addr=inet_addr("10.0.0.1")}, [566935683088]) = 4
select(10, [5 7 8 9], [], [], {0, 0}) = 1 (in [9], left {0, 0})
accept(8,
--
The choice of a
-----==- _GNU_
----==-- _ generation Marc Lehmann
---==---(_)__ __ ____ __ [EMAIL PROTECTED]
--==---/ / _ \/ // /\ \/ / http://schmorp.de/
-=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE