WireCellToolkit
Wire Cell Simulation, Signal Process and Reconstruction Toolki for Liquid Argon Detectors
spdlog::details::thread_pool Class Reference

#include <thread_pool.h>

Public Types

using item_type = async_msg
 
using q_type = details::mpmc_blocking_queue< item_type >
 

Public Member Functions

 thread_pool (size_t q_max_items, size_t threads_n)
 
 ~thread_pool ()
 
 thread_pool (const thread_pool &)=delete
 
thread_pooloperator= (thread_pool &&)=delete
 
void post_log (async_logger_ptr &&worker_ptr, details::log_msg &msg, async_overflow_policy overflow_policy)
 
void post_flush (async_logger_ptr &&worker_ptr, async_overflow_policy overflow_policy)
 
size_t overrun_counter ()
 

Detailed Description

Definition at line 118 of file thread_pool.h.

Member Typedef Documentation

◆ item_type

◆ q_type

Constructor & Destructor Documentation

◆ thread_pool() [1/2]

spdlog::details::thread_pool::thread_pool ( size_t  q_max_items,
size_t  threads_n 
)
inline

Definition at line 124 of file thread_pool.h.

◆ ~thread_pool()

spdlog::details::thread_pool::~thread_pool ( )
inline

Definition at line 141 of file thread_pool.h.

Here is the call graph for this function:

◆ thread_pool() [2/2]

spdlog::details::thread_pool::thread_pool ( const thread_pool )
delete

Member Function Documentation

◆ operator=()

thread_pool& spdlog::details::thread_pool::operator= ( thread_pool &&  )
delete

◆ overrun_counter()

size_t spdlog::details::thread_pool::overrun_counter ( )
inline

Definition at line 174 of file thread_pool.h.

Here is the call graph for this function:

◆ post_flush()

void spdlog::details::thread_pool::post_flush ( async_logger_ptr &&  worker_ptr,
async_overflow_policy  overflow_policy 
)
inline

Definition at line 169 of file thread_pool.h.

◆ post_log()

void spdlog::details::thread_pool::post_log ( async_logger_ptr &&  worker_ptr,
details::log_msg msg,
async_overflow_policy  overflow_policy 
)
inline

Definition at line 163 of file thread_pool.h.


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