httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ras...@lerdorf.on.ca (Rasmus Lerdorf)
Subject Re: The Bad News
Date Sun, 08 Feb 1998 08:40:41 GMT
> There are a variety of interesting problems. The most obvious is that
> dup() can't behave as expected (i.e. close(0); dup(someotherfilehandle);
> is difficult to emulate). Another is that n=open(...); somearray[n]=x;
> is likely to do bad things, though I doubt that we hit this.
> 
> There's also the amusement that sockets and filehandles don't mix.
> 
> And so on.
> 
> It may help that I've already done all this for RST's threaded version
> (where I elected to use native handles). But it isn't compatible. Of
> course, we can't use RST's wrapping for it, but the guts of the Win32
> stuff is mine. It's in C++, though :-)

If you poke around on www.imatix.com it looks like they have solved most
of these problems in a portable manner.  Source code is there as well.

-Rasmus


Mime
View raw message