See Public API for a list of names and headers that are part of the public HPX API.
hpx::id_type unmanaged(hpx::id_type const &id)#
The helper function hpx::unmanaged can be used to generate a global identifier which does not participate in the automatic garbage collection.
This function allows to apply certain optimizations to the process of memory management in HPX. It however requires the user to take full responsibility for keeping the referenced objects alive long enough.
id – [in] The id to generated the unmanaged global id from This parameter can be itself a managed or a unmanaged global id.
This function returns a new global id referencing the same object as the parameter id. The only difference is that the returned global identifier does not participate in the automatic garbage collection.
- hpx::id_type unmanaged(hpx::id_type const &id)#