Add comment with construct explanation from book

This commit is contained in:
2019-03-01 11:15:05 +01:00
parent b9b469c9a2
commit b55c4d6e68

View File

@@ -99,4 +99,11 @@ void Component::construct(Genode::Env &env)
Genode::log("Hello World from child!"); Genode::log("Hello World from child!");
static Example::Main main(env); 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
*/
} }