[PATCH] Provide posix_spawn implementation

Petr Hosek phosek@chromium.org
Mon Sep 16 20:07:00 GMT 2013


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: posix_spawn.patch
Type: application/octet-stream
Size: 21282 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20130916/fca036d5/attachment.obj>


More information about the Newlib mailing list