כ- 113,000 תוצאות
פתח קישורים בכרטיסיה חדשה
  1. std::async - cppreference.com

    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 …

  2. std::future - cppreference.com

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

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

    5 במרץ 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 …

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

    27 באוג׳ 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 …

  5. std::launch - cppreference.com

    19 במרץ 2025 · std::launch is a BitmaskType. It specifies the launch policy for a task executed by the std::async function. Constants The following constants denoting individual bits are defined …

  6. std::shared_future - cppreference.com

    23 באוק׳ 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 …

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

    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 …

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

    27 בנוב׳ 2023 · namespace std { enum class future_errc { broken_promise = /* implementation-defined */, future_already_retrieved = /* implementation-defined */, promise_already ...

  9. Extensions for networking - cppreference.com

    11 בספט׳ 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 …

  10. std::shared_future<T>::wait_for - cppreference.com

    28 באוג׳ 2021 · Waits for the result to become available. Blocks until specified timeout_duration has elapsed or the result becomes available, whichever comes first. The return value identifies …