use posix_spawn in pexecute

Zack Weinberg zack@codesourcery.com
Sun Dec 16 21:08:00 GMT 2001


On Sun, Dec 16, 2001 at 07:50:32PM -0500, Roland McGrath wrote:
> This patch to libiberty makes the `pexecute' function use the POSIX.1
> <spawn.h> interfaces (`posix_spawn' or `posix_spawnp') instead of fork and
> exec, when configure finds the <spawn.h> functions available.
...

Wouldn't your time be better spent speeding up fork() than tediously
patching every single user-space application that uses it?

zw



More information about the Gcc-patches mailing list