HPX - High Performance ParalleX

PrevUpHomeNext

Function find_id_from_basename

hpx::find_id_from_basename — Return registered id from the given base name and sequence number.

Synopsis

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


hpx::future< hpx::id_type > 
find_id_from_basename(char const * base_name, std::size_t sequence_nr = ~0U);

Description

This function locates the id which was registered with the given base name and the given sequence number. It returns a future representing those id.

[Note] Note

The future will become ready even if the event (for instance, binding the name to an id) has already happened in the past. This is important in order to reliably retrieve ids from a name, even if the name was already registered.

Parameters:

base_name

[in] The base name for which to retrieve the registered ids.

sequence_nr

[in] The sequence number of the registered id.

Returns:

A representing the id which was registered using the given base name and sequence numbers.


PrevUpHomeNext