Scroll to navigation

PMIX_ALLOC_INHERITANCE_T(5) OpenPMIx PMIX_ALLOC_INHERITANCE_T(5)

pmix_alloc_inheritance_t — Inheritance rules to be applied to an allocation

SYNTAX

C Syntax

#include <pmix_common.h>
typedef uint8_t pmix_alloc_inheritance_t;
#define PMIX_ALLOC_INHERIT_NONE          1
#define PMIX_ALLOC_INHERIT_CHILD         2
#define PMIX_ALLOC_INHERIT_DEFAULT       3
#define PMIX_ALLOC_INHERIT_CHILD_DEFAULT 4


DESCRIPTION

The pmix_alloc_inheritance_t type specifies the inheritance rules to be applied to an allocation — that is, what is to become of the allocated resources upon termination of the owning namespace. It is an 8-bit unsigned integer taking one of the following values:

No one is to inherit the allocation — it will be released upon termination of the owning namespace.
The allocation is to remain alive until all child namespaces have terminated, including derived children.
The allocation is to become unreserved upon termination of the owning namespace.
The allocation is to become unreserved upon termination of the last derived child namespace.

An inheritance value is passed to PMIx_Allocation_request(3) <#man3-pmix-allocation-request> via the PMIX_ALLOC_INHERITANCE attribute. The PMIx_Alloc_inheritance_string(3) <#man3-pmix-alloc-inheritance-string> function returns a string representation of a pmix_alloc_inheritance_t value.

See also:

PMIx_Allocation_request(3) <#man3-pmix-allocation-request>, PMIx_Alloc_inheritance_string(3) <#man3-pmix-alloc-inheritance-string>, pmix_alloc_directive_t(5) <#man5-pmix-alloc-directive-t>, pmix_info_t(5) <#man5-pmix-info-t>


Copyright

2014-2026, OpenPMIx Community

September 27, 2026