This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Provide posix_spawn implementation


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]