Class coro::continue_on_pthread

Class List > coro > continue_on_pthread

Creates a new POSIX Thread and resume the given coroutine handle on it.

  • #include <pthread.h>

Public Functions

Type Name
bool await_ready () noexcept const
void await_resume () noexcept
void await_suspend (coroutine_handle< void > coro) noexcept
continue_on_pthread (pthread_t & tid, const pthread_attr_t * attr)

Public Functions Documentation

function await_ready

inline bool coro::continue_on_pthread::await_ready () noexcept const

function await_resume

inline void coro::continue_on_pthread::await_resume () noexcept

function await_suspend

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

function continue_on_pthread

inline coro::continue_on_pthread::continue_on_pthread (
    pthread_t & tid,
    const pthread_attr_t * attr
) 

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