mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-08 11:55:24 +00:00
The IPC-server object exists solely on the stack of the entrypoint thread and, therefore, would never be destructed as the thread is just killed. Now, the object is explicitly destructed in the entrypoint destructor. An alternative solution could instruct the entrypoint thread the terminate, which would automatically cleanup its stack. The object pool is assumed to be empty on destruction of the entrypoint. If not, we warn and at least dissolve all RPC objects.
This is generic part of the Genode implementation. It consists of two parts: :_Core_: is the ultimate root of the Genode application tree and provides abstractions for the lowest-level hardware resources such as RAM, ROM, CPU, and generic device access. All generic parts of Core can be found here - for system-specific implementations refer to the appropriate 'base-<system>' directory. :_Base libraries and protocols_: that are used by each Genode component to interact with other components. This is the glue that holds everything together.