AFIO  v2.00 late alpha
afio_v2_xxx::io_service::awaitable_post_to_self Struct Reference

#include "io_service.hpp"

Public Member Functions

 awaitable_post_to_self (io_service &_service)
 Constructor, takes the i/o service whose kernel thread we are to reschedule onto.
 
bool await_ready ()
 
void await_suspend (coroutine_handle<> co)
 
void await_resume ()
 

Public Attributes

io_serviceservice
 

Detailed Description

An awaitable suspending execution of this coroutine on the current kernel thread, and resuming execution on the kernel thread running this i/o service. This is a convenience wrapper for post().


The documentation for this struct was generated from the following file: