Problem with select on windows [PATCH]
schmorp at schmorp.de
Fri Feb 4 02:05:13 CET 2011
On Thu, Feb 03, 2011 at 10:27:23PM +0100, Bert Belder <bertbelder at gmail.com> wrote:
> This patch also fixed the test and nodejs, and I couldn't think of any
> remaining conceptual problem.
> So if there's still a problem we will have to find out the hard way :-)
Just keep them coming - it's nice to see somebody actively test the pure
win32 backend, which is something I rarely do.
> > 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.
> I'm afraid that I don't really understand what you're envisioning...
It's ok, and not very relevant. Right now, pure win32 is rather neglected, as
it's maintained on a "has to work" not a "has to be fast" basis.
With some effort, one could improve the handle => fd mapping (hashing...)
but if select would return handles in order they were passed in for
example it could be so much faster :)
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / schmorp at schmorp.de
More information about the libev