Thread System 0.3.1
High-performance C++20 thread pool with work stealing and DAG scheduling
Loading...
Searching...
No Matches
kcenon::thread::detail::concurrent_queue< T >::node Struct Reference
Collaboration diagram for kcenon::thread::detail::concurrent_queue< T >::node:
Collaboration graph

Public Member Functions

 node ()=default
 
 node (T value)
 

Public Attributes

std::optional< T > data
 
nodenext {nullptr}
 

Detailed Description

template<typename T>
struct kcenon::thread::detail::concurrent_queue< T >::node

Definition at line 274 of file concurrent_queue.h.

Constructor & Destructor Documentation

◆ node() [1/2]

template<typename T >
kcenon::thread::detail::concurrent_queue< T >::node::node ( )
default

◆ node() [2/2]

template<typename T >
kcenon::thread::detail::concurrent_queue< T >::node::node ( T value)
inlineexplicit

Definition at line 279 of file concurrent_queue.h.

279: data(std::move(value)) {}

Member Data Documentation

◆ data

template<typename T >
std::optional<T> kcenon::thread::detail::concurrent_queue< T >::node::data

◆ next


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