Problem with select on windows [PATCH]

Marc Lehmann schmorp at
Thu Feb 3 22:00:47 CET 2011

On Thu, Feb 03, 2011 at 02:05:11PM +0100, Bert Belder <bertbelder at> wrote:
> Verified it with the test case I sent earlier as well as with nodejs.
> In both cases the patch seems to fix this problem. But I think there may be
> an issue still...

right, how about this patch then?

has the advantage of moving the windows-specific code out of the loop.
now, if we could make some assumptions about the output ordering of the
fd set on windows we might even be able to make it simple and fast with a
special win32 backend.

                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_    
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp at
      -=====/_/_//_/\_,_/ /_/\_\

More information about the libev mailing list