
std:: async - cppreference.com
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 eventually hold the result of …
std:: future - cppreference.com
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. The creator of the asynchronous …
Execution control library (since C++26) - cppreference.com
Feb 24, 2025 · The Execution control library provides a framework for managing asynchronous execution on generic execution resources.
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 the …
Concurrency support library (since C++11) - cppreference.com
Apr 29, 2025 · Futures The standard library provides facilities to obtain values that are returned and to catch exceptions that are thrown by asynchronous tasks (i.e. functions launched in separate …
std::mutex - cppreference.com
Mar 6, 2024 · The mutex class is a synchronization primitive that can be used to protect shared data from being simultaneously accessed by multiple threads. mutex offers exclusive, non-recursive …
std::shared_mutex - cppreference.com
Jun 13, 2023 · The shared_mutex class is a synchronization primitive that can be used to protect shared data from being simultaneously accessed by multiple threads. In contrast to other mutex types which …
std::thread::join - cppreference.com
Jun 3, 2021 · Blocks the current thread until the thread identified by *this finishes its execution. The completion of the thread identified by *this synchronizes with the corresponding successful return …
std::future<T>::wait - cppreference.com
Aug 27, 2021 · Blocks until the result becomes available. valid() == true after the call. The behavior is undefined if valid() == false before the call to this function.
Extensions for networking - cppreference.com
Sep 11, 2023 · The C++ Extensions for Networking, ISO/IEC TS 19216:2018, defines new components for the C++ standard library listed on this page.