HPX - High Performance ParalleX

PrevUpHomeNext

Function get_locality_name

hpx::get_locality_name — Return the name of the locality this function is called on.

Synopsis

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


std::string get_locality_name();

Description

This function returns the name for the locality on which this function is called.

See Also:

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

Returns:

This function returns the name for the locality on which the function is called. The name is retrieved from the underlying networking layer and may be different for different parcelports.


PrevUpHomeNext