[PATCH] Provide posix_spawn implementation

Christopher Faylor cgf-use-the-mailinglist-please@sourceware.org
Tue Sep 17 03:28:00 GMT 2013


On Mon, Sep 16, 2013 at 01:07:21PM -0700, Petr Hosek wrote:
>I have ported over posix_spawn implementation from FreeBSD to newlib.
>It implements posix_spawn interface in terms of existing POSIX
>interfaces, in particular vfork and exec.
>
>This should make it easier to port existing code which uses
>posix_spawn, which is already supported by glibc as well as all BSD
>variants. In the longer term, posix_spawn could be also interesting to
>Cygwin as the interface is more akin to CreateProcess provided by
>Windows so the applications using posix_spawn instead of fork/vfork
>would get performance improvement compared to the current fork
>emulation.

Interesting stuff.  I think Cygwin might like this if it's accepted.

cgf



More information about the Newlib mailing list