HPX - High Performance ParalleX

PrevUpHomeNext

Function find_all_ids_from_basename

hpx::find_all_ids_from_basename — Return all registered ids from all localities from the given base name.

Synopsis

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


std::vector< hpx::future< hpx::id_type > > 
find_all_ids_from_basename(char const * base_name, std::size_t num_ids);

Description

This function locates all ids which were registered with the given base name. 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.

num_ids

[in] The number of registered ids to expect.

Returns:

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


PrevUpHomeNext