async_colocated

The contents of this module can be included with the header hpx/modules/async_colocated.hpp. These headers may be used by user-code but are not guaranteed stable (neither header location nor contents). You are using these at your own risk. If you wish to use non-public functionality from a module we strongly suggest only including the module header hpx/modules/async_colocated.hpp, not the particular header in which the functionality you would like to use is defined. See Public API for a list of names that are part of the public HPX API.

Defines

HPX_REGISTER_ASYNC_COLOCATED_DECLARATION(Action, Name)
HPX_REGISTER_ASYNC_COLOCATED(Action, Name)
namespace hpx

Functions

naming::id_type get_colocation_id(launch::sync_policy, naming::id_type const &id, error_code &ec = throws)

Return the id of the locality where the object referenced by the given id is currently located on.

The function hpx::get_colocation_id() returns the id of the locality where the given object is currently located.

Note

As long as ec is not pre-initialized to hpx::throws this function doesn’t throw but returns the result code using the parameter ec. Otherwise it throws an instance of hpx::exception.

See

hpx::get_colocation_id()

Parameters
  • id: [in] The id of the object to locate.

  • ec: [in,out] this represents the error status on exit, if this is pre-initialized to hpx::throws the function will throw on error instead.

lcos::future<naming::id_type> get_colocation_id(naming::id_type const &id)

Asynchronously return the id of the locality where the object referenced by the given id is currently located on.

See

hpx::get_colocation_id(launch::sync_policy)

Parameters
  • id: [in] The id of the object to locate.

Defines

HPX_REGISTER_APPLY_COLOCATED_DECLARATION(Action, Name)
HPX_REGISTER_APPLY_COLOCATED(action, name)
namespace hpx
namespace util
namespace functional

Functions

template<typename Bound>
functional::detail::apply_continuation_impl<Bound, hpx::util::unused_type> apply_continuation(Bound &&bound)
template<typename Bound, typename Continuation>
functional::detail::apply_continuation_impl<Bound, Continuation> apply_continuation(Bound &&bound, Continuation &&c)
template<typename Bound>
functional::detail::async_continuation_impl<Bound, hpx::util::unused_type> async_continuation(Bound &&bound)
template<typename Bound, typename Continuation>
functional::detail::async_continuation_impl<Bound, Continuation> async_continuation(Bound &&bound, Continuation &&c)
struct extract_locality

Public Functions

naming::id_type operator()(naming::id_type const &locality_id, naming::id_type const &id) const
namespace hpx
namespace components
namespace server

Functions

void destroy_component(naming::gid_type const &gid, naming::address const &addr)
template<typename Component>
void destroy(naming::gid_type const &gid, naming::address const &addr)
template<typename Component>
void destroy(naming::gid_type const &gid)