Class coro::continue_on_thread_pool

Class List > coro > continue_on_thread_pool

Move into the win32 thread pool and continue the routine. More...

  • #include <windows.h>

Public Functions

Type Name
constexpr bool await_ready () noexcept const
constexpr void await_resume () noexcept
void await_suspend (coroutine_handle< void > coro) noexcept
Try to submit the coroutine to thread pool.

Detailed Description

See also: CreateThreadpoolWork

See also: SubmitThreadpoolWork

See also: CloseThreadpoolWork

Public Functions Documentation

function await_ready

inline constexpr bool coro::continue_on_thread_pool::await_ready () noexcept const

function await_resume

inline constexpr void coro::continue_on_thread_pool::await_resume () noexcept

function await_suspend

inline void coro::continue_on_thread_pool::await_suspend (
    coroutine_handle < void > coro
) noexcept

Parameters:

  • coro

Exception:

  • system_error

The documentation for this class was generated from the following file interface/coroutine/windows.h