genode/repos/base-pistachio
Norman Feske e0e9b3b32e init: close all sessions of exited children
With this patch, init responds to the exit of a child by closing all
sessions of the child. E.g., if a child is a GUI application, its
nitpicker session is closed at the time of exit, not at the time when
the start node disappears from init's configuration.

Since this change requires a modification of the 'Genode::Child' class,
it takes the chance to make the child-destruction less brutal. The
new version ensures that all threads of the destructed subsystem are
destructed before other sessions, in particular PD sessions. This
eliminates spurious page-fault warnings during the child destruction.

On Fiasco.OC, closing the CPU session of a thread while being called by
the thread causes a deadlock. Hence, we skip the eager destruction of
CPU sessions on this kernel.

Related to issue #2659
2018-02-09 13:31:27 +01:00
..
config Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
doc Disambiguate kernel-specific file names 2016-12-23 16:51:32 +01:00
etc Add unified build directories to create_builddir 2017-01-13 13:05:44 +01:00
lib core: add support to export log output as ROM 2017-12-21 15:01:46 +01:00
patches pistachio: fix compilation with GCC 6 2017-05-31 13:16:07 +02:00
ports pistachio: remove autom4te cache from contrib dir 2017-09-07 11:47:16 +02:00
recipes/src/base-pistachio depot: update recipe hashes 2018-01-17 12:14:44 +01:00
src init: close all sessions of exited children 2018-02-09 13:31:27 +01:00
README Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00

This repository contains the L4ka::Pistachio-specific implementation of Genode.
Please see the documentation at 'base-pistachio/doc/pistachio.txt' for further
instructions on building and using Genode on the L4ka::Pistachio kernel.