|
tin
1.5.9
|
#include <sync.h>


Public Member Functions | |
| cancellation_token< MaxWaiters > | token () noexcept |
| void | request_cancel () noexcept |
| void | reset () noexcept |
| bool | stop_requested () const noexcept |
Friends | |
| class | cancellation_token< MaxWaiters > |
Cooperative cancellation source.
Requesting cancellation sets a sticky flag and wakes all tasks waiting on its token. The source does not interrupt a running coroutine; task code observes the token at explicit await or poll points.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
friend |