batmat main
Batched linear algebra routines
Loading...
Searching...
No Matches
batmat::thread_pool::State Struct Reference

Detailed Description

Definition at line 19 of file thread-pool.hpp.

Public Member Functions

void run (std::stop_token stop)

Public Attributes

std::mutex mtx
std::condition_variable_any cv
std::function< void()> func
std::exception_ptr exception

Member Function Documentation

◆ run()

void batmat::thread_pool::State::run ( std::stop_token stop)
inline

Definition at line 85 of file thread-pool.hpp.

Member Data Documentation

◆ mtx

std::mutex batmat::thread_pool::State::mtx

Definition at line 20 of file thread-pool.hpp.

◆ cv

std::condition_variable_any batmat::thread_pool::State::cv

Definition at line 21 of file thread-pool.hpp.

◆ func

std::function<void()> batmat::thread_pool::State::func

Definition at line 22 of file thread-pool.hpp.

◆ exception

std::exception_ptr batmat::thread_pool::State::exception

Definition at line 23 of file thread-pool.hpp.


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