HPX - High Performance ParalleX

PrevUpHomeNext

Function find_ids_from_basename

hpx::find_ids_from_basename — Return registered ids from the given base name and sequence numbers.

Synopsis

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


std::vector< hpx::future< hpx::id_type > > 
find_ids_from_basename(char const * base_name, 
                       std::vector< std::size_t > const & ids);

Description

This function locates the ids which were registered with the given base name and the given sequence numbers. It returns a list of futures representing those ids.

[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.

ids

[in] The sequence numbers of the registered ids.

Returns:

A list of futures representing the ids which were registered using the given base name and sequence numbers.


PrevUpHomeNext