|
Hi,
This support should also incorporate the spawn discussion of a while back. I.e. properly support "inheritance" via fcntl/FD_CLOEXEC vs. SetHandleInformation etc. over implementations. Also, read/write/etc. actions on fd/Handle should behave the same, e.g. consistent blocking/EOF/error behaviour for fifo's and named pipes, etc. This, combined with consistent AIO handling, was the reason that I did not finish such a lib that I started some time ago. It would still be very welcome though...
When I wrote LuaThread, I ported a subset of the pthreads API to Win32. Would it make sense to try to replicate the libevent API, but based on HANDLEs, or should we write something completely new? Regards, Diego.