hpx::sync#
Defined in header hpx/future.hpp.
See Public API for a list of names and headers that are part of the public HPX API.
-
namespace hpx
Functions
- template<typename F, typename... Ts> decltype(auto) HPX_CXX_EXPORT sync (F &&f, Ts &&... ts)
The function template sync runs the function f synchronously and returns a hpx::future that will eventually hold the result of that function call.