mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-28 07:04:14 +00:00
ca004658d9
Implements Native_capability as smart-pointer type referencing Cap_index objects. Whenever capabilities are copied, assigned, constructed, or destructed the reference-counter of the Cap_index is incremented/decremented. When it reaches zero the Cap_index is removed from the process-global cap_map and gets freed. Fix for issue #32.