Futures Library: Cancellation
Future cancellation primitives.
Classes
Classes | Description |
---|---|
nostopstate_t | Empty struct to initialize a stop_source without a shared stop state. (struct) |
stop_token | Token to check if a stop request has been made. (class) |
stop_source | Object used to issue a stop request. (class) |
Attributes
Member Attributes | Description |
---|---|
nostopstate | Empty struct to initialize a stop_source without a shared stop state. (public variable) |
Attributes
variable nostopstate
Defined in header <futures/stop_token.hpp>
constexpr nostopstate_t nostopstate {};
Empty struct to initialize a stop_source without a shared stop state.
Updated on 2023-01-04