This is the mail archive of the
mailing list for the Cygwin project.
Re: Efficient posix_spawn implementation for Cygwin
On 03/01/2012 5:25 PM, email@example.com wrote:
This probably belongs at cygwin-dev, but it sounds interesting
(especially if it allows less-frequent invocation of the rebaseall ritual).
posix_spawn  is an optional POSIX facility that allows programs to
start other programs without using fork or vfork. I've created an
efficient implementation of posix_spawn for Cygwin. The code is available
This library uses Cygwin's nonstandard spawn* family calls in process.h to
provide the full suite of posix_spawn* functionality. Implementing
posix_spawn in terms of spawn turns out to be non-trivial. Nevertheless,
using posix_spawn can improve process startup performance considerably,
especially for large programs:
However, you should check out the copyright assignment requirements 
if you want the code to make it upstream.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple