|
L4Re Operating System Framework
Interface and Usage Documentation
|
Automatic capability that implements automatic free and unmap+delete of the capability slot. More...
#include <cap_alloc>
Automatic capability that implements automatic free and unmap+delete of the capability slot.
| T | Type of the object that is referred by the capability. |
This kind of automatic capability implements a counted reference to a capability slot. The capability shall be unmapped and freed when the reference count in the allocator goes to zero. The main difference to Ref_cap is that the unmap is done with the deletion flag enabled and this leads to the deletion of the object if the current task holds appropriate deletion rights.
Usage: