[RFC] rcexecr: rcorder in parallel
Julien Laffaye
jlaffaye at freebsd.org
Sat Jun 4 12:07:28 UTC 2011
On Sat, Jun 4, 2011 at 10:10 AM, Buganini <buganini at gmail.com> wrote:
> https://github.com/buganini/rcexecr
>
> Currently it is able to determine the exec/wait order
>
> There are something I haven't digged in deeply in the "self modification" part.
>
> patches/ideas are welcome.
Hello,
Thanks for doing that!
You should use kqueue(2) instead of waitpid(2) so that you can
efficiently monitor a pool of processes.
See pwait(1) for an example.
Regards,
Julien
More information about the freebsd-current
mailing list