futures::new_thread_executor
Executors / new_thread_executor
Defined in header <futures/executor/new_thread_executor.hpp>
class new_thread_executor;
An executor that runs anything in a new thread, like std::async does.
Public Functions
Member Functions | Description |
---|---|
(constructor) = default | (function) |
execute const | (function template) |
Public Functions
function new_thread_executor
Defined in header <futures/executor/new_thread_executor.hpp>
constexpr
new_thread_executor() = default;
Exception Safety
Basic exception guarantee.
function execute
Defined in header <futures/executor/new_thread_executor.hpp>
template <class F>
void
execute(F && f) const;
Exception Safety
Basic exception guarantee.
Updated on 2023-01-04