Corium 1.1.0
High-Performance Zero-Heap C++20 MPSC Application Runtime
Loading...
Searching...
No Matches
CancellationToken.hpp File Reference

Lock-free atomic cooperative cancellation token with coroutine awaiter. More...

#include <atomic>
#include <coroutine>
+ Include dependency graph for CancellationToken.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  corium::async::CancellationToken
 Lightweight, zero-heap cooperative cancellation token for C++20 coroutines and services. More...
 
struct  corium::async::CancellationToken::WhenCancelledAwaiter
 Awaitable that suspends until this token is cancelled. More...
 

Namespaces

namespace  corium
 
namespace  corium::async
 

Detailed Description

Lock-free atomic cooperative cancellation token with coroutine awaiter.