MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
mtl::parallel::pool_local_noexc::detail::pool_config Struct Reference

What configure() asked for, and whether the pool already exists. More...

#include <thread_pool.hpp>

Public Attributes

std::mutex mtx
unsigned requested = 0
bool created = false

Detailed Description

What configure() asked for, and whether the pool already exists.

One mutex orders configure() against the pool's construction, so a configure() that returns true is the size the pool gets.

Member Data Documentation

◆ created

bool mtl::parallel::pool_local_noexc::detail::pool_config::created = false

◆ mtx

std::mutex mtl::parallel::pool_local_noexc::detail::pool_config::mtx

◆ requested

unsigned mtl::parallel::pool_local_noexc::detail::pool_config::requested = 0

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