09.08.2013, 02:02, "LRN" <[email protected]>: > On 09.08.2013 01:47, Christian Grothoff wrote: > >> On 08/08/13 22:17, LRN wrote: >>> Use threads. Really. That's the cleanest solution i know of. >>> We could probably push it into plibc, if your objection is to the >>> presence of extra threading in MHD itself, rather than the presence of >>> extra threading in MHD+plibc combination...H-m-m-m...ndurner, what do >>> you think? >> Well, if you badly want threads, I guess as long as they are W32-only >> maybe I'll live. Would that eliminate the 100ms and the extra wake-ups? > Yes. Move sockets "select" to new thread, use overlapped IO on pipe handle? Than pipe handle should be opened as Overlapped IO.
-- Evgeny
