Thread System 0.3.1
High-performance C++20 thread pool with work stealing and DAG scheduling
Loading...
Searching...
No Matches
kcenon::thread::cancellation_token::token_state Struct Reference
Collaboration diagram for kcenon::thread::cancellation_token::token_state:
Collaboration graph

Public Attributes

std::atomic< bool > is_cancelled {false}
 
std::vector< std::function< void()> > callbacks
 
std::mutex callback_mutex
 

Detailed Description

Definition at line 33 of file cancellation_token.h.

Member Data Documentation

◆ callback_mutex

std::mutex kcenon::thread::cancellation_token::token_state::callback_mutex

Definition at line 36 of file cancellation_token.h.

◆ callbacks

std::vector< std::function< void()> > kcenon::thread::cancellation_token::token_state::callbacks

Definition at line 35 of file cancellation_token.h.

◆ is_cancelled

std::atomic< bool > kcenon::thread::cancellation_token::token_state::is_cancelled {false}

Definition at line 34 of file cancellation_token.h.

34{false};

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