From: Christopher Faylor Date: Thu, 19 Jan 2006 21:51:46 GMT Subject: Re: cygwin-latest: compile errors related to sockaddr_storage, dirent->d_type and dirent->d_ino Message-ID: <20060119215146.GC5090@trixie.casa.cgf.cx> In-Reply-To: On Thu, Jan 19, 2006 at 01:44:58PM -0800, Linus Torvalds wrote: > >On Thu, 19 Jan 2006, Christopher Faylor wrote: >> >> The only thing that would speed up process creation in cygwin now is >> the use of the windows spawn* family of function calls. Those could be >> used instead of fork/exec but I have a personal aversion to using them >> since they are so non-UNIX. If performance is an issue, however, that >> could be something to investigate. > >What about posix_spawn()? I don't know the windows spawn things, but I >assume posix_spawn() is basically trying to be them.. Does it work with >cygwin if we try to convert some of the more obvious users? You know, I couldn't remember what the name of the spawn that was introduced for posix. I was going to mention it in my email and I forgot. Obviously it was because the name so obscure that no one could possibly remember it. :-) We don't emulate posix_spawn currently but we could and should. I'll put it on the todo list. cgf