base-linux: reflect SIGCHLD as Cpu_session signal

With this patch, core responds to SIGCHLD signals of terminating Genode
processes by reflecting these events as exceptions to the CPU session
interface. This way, Genode processes become able to respond to
terminating Genode child processes.
This commit is contained in:
Norman Feske
2013-01-03 16:23:11 +01:00
parent 38272b9172
commit 693d657e6a
9 changed files with 170 additions and 28 deletions

View File

@ -412,13 +412,10 @@ namespace Genode {
public:
Platform_env()
:
Platform_env_base(static_cap_cast<Ram_session>(_parent().session("Env::ram_session", "")),
static_cap_cast<Cpu_session>(_parent().session("Env::cpu_session", "")),
static_cap_cast<Pd_session> (_parent().session("Env::pd_session", ""))),
_heap(Platform_env_base::ram_session(), Platform_env_base::rm_session())
{ }
/**
* Constructor
*/
Platform_env();
/**
* Destructor