mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-25 19:21:39 +00:00
Delete operators with additional allocator reference/pointer parameters are needed if the constructor of an 'new(allocator)' allocated object throws an exception. Also, destroy now uses the operator to free memory and provides variants with allocator reference and pointer. The commit includes a simple test scripts 'run/new_delete', which exercises the several 'delete' cases. Related to #1030.
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.