|
tin
1.5.9
|
#include <coroutine.h>

Public Member Functions | |
| bool | await_ready () const noexcept |
| void | await_suspend (task::handle_type handle) const noexcept |
| void | await_resume () const noexcept |
Cooperative yield point for static runtime tasks.
Task loops use yield_awaitable to give other ready work a chance to run without blocking an OS thread. Awaiting it marks the current task ready again and returns control to the executor. The executor may then run another task or dispatch queued runtime work before this task resumes.
Application code uses tsm::yield().
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |