futures/executor/new_thread_executor.hpp
New thread executor.
#include <futures/executor/new_thread_executor.hpp>
Namespaces
| Name | Description |
|---|---|
| futures | Main library namespace. |
Classes
| Classes | Description |
|---|---|
| new_thread_executor | An executor that runs anything in a new thread, like std::async does. (class) |
Description
This file defines the new thread executor, which creates a new thread every time a new task is launched. This is somewhat equivalent to executing tasks with C++11 std::async.
Updated on 2023-01-04