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) sync(F &&f, Ts&&... ts)#

The function template sync runs the function f synchronously and returns an hpx::future that will eventually hold the result of that function call.