Merge from vendor branch TNF:
[pkgsrcv2.git] / devel / ruby-posix-spawn / DESCR
1 fork(2) calls slow down as the parent process uses more memory due to
2 the need to copy page tables.  In many common uses of fork(), where it
3 is followed by one of the exec family of functions to spawn child
4 processes (Kernel#system, IO::popen, Process::spawn, etc.), it's
5 possible to remove this overhead by using the use of special process
6 spawning interfaces (posix_spawn(), vfork(), etc.)
7
8 The posix-spawn library aims to implement a subset of the Ruby 1.9
9 Process::spawn interface in a way that takes advantage of fast process
10 spawning interfaces when available and provides sane fallbacks on
11 systems that do not.