Yahoo Web Search

Search results

  1. Oct 23, 2023 · sets the result to specific value while delivering the notification only at thread exit (public member function)

  2. Mar 12, 2024 · The class template std::future provides a mechanism to access the result of asynchronous operations:

  3. Sep 4, 2024 · 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 required to resume execution is stored separately from the stack.

  4. Feb 25, 2024 · The operation behaves as though set_value, set_exception, set_value_at_thread_exit, and set_exception_at_thread_exit acquire a single mutex associated with the promise object while updating the promise object.

  5. Aug 16, 2023 · Creates a coroutine_handle from the promise object of a coroutine. The created coroutine_handle refers the coroutine, and promise() returns a reference to p.

  6. Oct 23, 2023 · 2) Constructs the promise with an empty shared state. The shared state is allocated using alloc. Alloc must meet the requirements of Allocator.

  7. Mar 11, 2024 · atomic_compare_exchange_weak atomic_compare_exchange_weak_explicit atomic_compare_exchange_strong atomic_compare_exchange_strong_explicit

  8. Oct 23, 2023 · atomic_compare_exchange_weak atomic_compare_exchange_weak_explicit atomic_compare_exchange_strong atomic_compare_exchange_strong_explicit

  9. Oct 23, 2023 · Atomically stores the exception pointer p into the shared state and makes the state ready.. The operation behaves as though set_value, set_exception, set_value_at_thread_exit, and set_exception_at_thread_exit acquire a single mutex associated with the promise object while updating the promise object.

  10. Aug 27, 2021 · atomic_compare_exchange_weak atomic_compare_exchange_weak_explicit atomic_compare_exchange_strong atomic_compare_exchange_strong_explicit

  1. People also search for