HPX - High Performance ParalleX

PrevUpHomeNext

Function unmanaged

hpx::naming::unmanaged

Synopsis

// In header: <hpx/runtime/naming/unmanaged.hpp>


id_type unmanaged(id_type const & id);

Description

The helper function hpx::unmanaged can be used to generate a global identifier which does not participate in the automatic garbage collection.

[Note] Note

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.

Parameters:

id

[in] The id to generated the unmanaged global id from This parameter can be itself a managed or a unmanaged global id.

Returns:

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.


PrevUpHomeNext