Class coro::continue_on_apc

Class List > coro > continue_on_apc

Move into the designated thread's APC queue 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 the thread's APC queue.
continue_on_apc (HANDLE hThread) noexcept

Detailed Description

See also: QueueUserAPC

See also: OpenThread

Public Functions Documentation

function await_ready

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

function await_resume

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

function await_suspend

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

Parameters:

  • coro

Exception:

  • system_error

function continue_on_apc

inline explicit coro::continue_on_apc::continue_on_apc (
    HANDLE hThread
) noexcept

Parameters:

  • hThread Target thread's handle

See also: OpenThread


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