
std::async - cppreference.com
Oct 28, 2024 · The function template std::async runs the function f asynchronously (potentially in a separate thread which might be a part of a thread pool) and returns a std::future that will …
std::future - cppreference.com
Mar 12, 2024 · An asynchronous operation (created via std::async, std::packaged_task, or std::promise) can provide a std::future object to the creator of that asynchronous operation. …
std::future_errc - cppreference.com
Mar 19, 2025 · Defect reports The following behavior-changing defect reports were applied retroactively to previously published C++ standards.
std::atomic_notify_one - cppreference.com
Sep 24, 2023 · Performs atomic notifying operations. If there is a thread blocked in atomic waiting operation (i.e. std::atomic_wait (), std::atomic_wait_explicit (), or std::atomic::wait ()) on …
std::atomic_wait, std::atomic_wait_explicit - cppreference.com
Oct 25, 2024 · Performs atomic waiting operations. Behaves as if it repeatedly performs the following steps: Compare the value representation of object->load() (for overloads (1,2)) or …
std::thread - cppreference.com
Oct 24, 2023 · The class thread represents a single thread of execution. Threads allow multiple functions to execute concurrently. Threads begin execution immediately upon construction of …
std::future<T>::~future - cppreference.com
Sep 29, 2024 · These actions will not block for the shared state to become ready, except that they may block if all following conditions are satisfied: The shared state was created by a call to …
std::latch - cppreference.com
Sep 26, 2024 · The latch class is a downward counter of type std::ptrdiff_t which can be used to synchronize threads. The value of the counter is initialized on creation. Threads may block on …
decay-copy - cppreference.com
Aug 22, 2023 · Return value A decayed copy of value as a prvalue. Notes decay-copy was introduced by the resolution of LWG issue 929. It is initially used in the concurrency support …
std::thread::hardware_concurrency - cppreference.com
Jun 2, 2021 · Returns the number of concurrent threads supported by the implementation. The value should be considered only a hint.