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

Public Member Functions

 TestData ()=default
 
 TestData (int v, double d)
 

Public Attributes

int value {0}
 
double data {0.0}
 
char padding [48] = {0}
 

Detailed Description

Examples
node_pool_sample.cpp.

Definition at line 29 of file node_pool_sample.cpp.

Constructor & Destructor Documentation

◆ TestData() [1/2]

TestData::TestData ( )
default

◆ TestData() [2/2]

TestData::TestData ( int v,
double d )
inline

Definition at line 35 of file node_pool_sample.cpp.

35: value(v), data(d) {}

Member Data Documentation

◆ data

double TestData::data {0.0}
Examples
node_pool_sample.cpp.

Definition at line 31 of file node_pool_sample.cpp.

31{0.0};

◆ padding

char TestData::padding[48] = {0}
Examples
node_pool_sample.cpp.

Definition at line 32 of file node_pool_sample.cpp.

32{0}; // Make it a decent size for testing

◆ value

int TestData::value {0}
Examples
node_pool_sample.cpp.

Definition at line 30 of file node_pool_sample.cpp.

30{0};

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