HPX - High Performance ParalleX

PrevUpHomeNext

Function get_locality_name

hpx::get_locality_name — Return the name of the referenced locality.

Synopsis

// In header: <hpx/hpx_fwd.hpp>


future< std::string > get_locality_name(naming::id_type const & id);

Description

This function returns a future referring to the name for the locality of the given id.

See Also:

std::string get_locality_name()

Parameters:

id

[in] The global id of the locality for which the name should be retrieved

Returns:

This function returns the name for the locality of the given id. The name is retrieved from the underlying networking layer and may be different for different parcel ports.


PrevUpHomeNext