Re: [RFC] rcexecr: rcorder in parallel

From: Julien Laffaye <jlaffaye_at_freebsd.org>
Date: Sat, 4 Jun 2011 12:45:37 +0100
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
Received on Sat Jun 04 2011 - 10:07:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:14 UTC