project-hatohol/hatohol — pull request #200 by kz0817 (2014-04-30 00:42:50+00:00)
Title: Issue 171: Devided a basic part from ActorCollector

These patches mainly extracts basic part for managing child process from ActorCollector.
The newly extracted class is named ChildProcessManager. The motivation of it is to
manage new ArmPlugins that will be a child process too by common code.

As a result, ActorCollector is in charge of tasks only for actions and became pared down.
In addition, A reset mechanism was reimplemented with signalfd (a specific feature of linux) to
wait for exit of child. Since it is a kind of a file descriptor, it's easy to use in conjunction with GLib's
event loop.