./devel/ruby-posix-spawn, Ruby wrapper for the posix_spawn() system call

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2014Q4, Version: 0.3.8, Package name: ruby200-posix-spawn-0.3.8, Maintainer: pkgsrc-users

fork(2) calls slow down as the parent process uses more memory due to
the need to copy page tables. In many common uses of fork(), where it
is followed by one of the exec family of functions to spawn child
processes (Kernel#system, IO::popen, Process::spawn, etc.), it's
possible to remove this overhead by using the use of special process
spawning interfaces (posix_spawn(), vfork(), etc.)

The posix-spawn library aims to implement a subset of the Ruby 1.9
Process::spawn interface in a way that takes advantage of fast process
spawning interfaces when available and provides sane fallbacks on
systems that do not.


Master sites:

SHA1: ca26e990432efcaf866651d56c8bf600c38882a2
RMD160: 80263f12cd7abf822072ac21bf2b4f0b75ce018b
Filesize: 26 KB

Version history: (Expand)