Ongeveer 110.000 resultaten
Koppelingen in nieuw tabblad openen
  1. std::async - cppreference.com

    28 okt. 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 …

  2. std::future - cppreference.com

    12 mrt. 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. …

  3. std:: launch - cppreference.com

    19 mrt. 2025 · std::launch is a BitmaskType. It specifies the launch policy for a task executed by the std::async function.

  4. Coroutines (C++20) - cppreference.com

    5 mrt. 2025 · A coroutine is a function that can suspend execution to be resumed later. Coroutines are stackless: they suspend execution by returning to the caller, and the data that is …

  5. Extensions for networking - cppreference.com

    11 sep. 2023 · The C++ Extensions for Networking, ISO/IEC TS 19216:2018, defines new components for the C++ standard library listed on this page. The Networking TS is based on …

  6. std::future<T>:: wait_for - cppreference.com

    27 aug. 2021 · If the future is the result of a call to std::async that used lazy evaluation, this function returns immediately without waiting. This function may block for longer than …

  7. std::shared_future - cppreference.com

    23 okt. 2023 · The class template std::shared_future provides a mechanism to access the result of asynchronous operations, similar to std::future, except that multiple threads are allowed to …

  8. Concurrency support library (since C++11) - cppreference.com

    29 apr. 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 …

  9. Standard library header <future> (C++11) - cppreference.com

    27 nov. 2023 · async = /* unspecified */, deferred = /* unspecified */, /* implementation-defined */ }; enum class future_status { ready, timeout, deferred }; template<> struct is_error_code_enum …

  10. std::stop_token - cppreference.com

    31 jul. 2024 · The stop_token class provides the means to check if a stop request has been made or can be made, for its associated std::stop_source object. It is essentially a thread-safe "view" …