[PATCH] Provide posix_spawn implementation
Petr Hosek
phosek@chromium.org
Thu Sep 26 21:57:00 GMT 2013
Ping; did any of the newlib maintainers had a time to look at the patch?
Petr
On 16 September 2013 20:28, Christopher Faylor
<cgf-use-the-mailinglist-please@sourceware.org> wrote:
> 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