From b55c4d6e6889912981b6b7e7d5831064bff0c257 Mon Sep 17 00:00:00 2001 From: Alexander Weidinger Date: Fri, 1 Mar 2019 11:15:05 +0100 Subject: [PATCH] Add comment with construct explanation from book --- src/app/child/main.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/app/child/main.cc b/src/app/child/main.cc index fcec587..5b9bc8a 100644 --- a/src/app/child/main.cc +++ b/src/app/child/main.cc @@ -99,4 +99,11 @@ void Component::construct(Genode::Env &env) Genode::log("Hello World from child!"); static Example::Main main(env); + + /* The component does not exit after the construct function returns. Instead, it be- + * comes ready to respond to requests or signals originating from other components. The + * example above does not interact with other components though. + * + * Genode Foundations p. 30 + */ }