OpenCBDC Transaction Processor
Loading...
Searching...
No Matches
cbdc::thread_pool Class Reference

#include <thread_pool.hpp>

Public Member Functions

 thread_pool ()=default
 
 ~thread_pool ()
 
 thread_pool (const thread_pool &)=delete
 
auto operator= (const thread_pool &) -> thread_pool &=delete
 
 thread_pool (thread_pool &&)=delete
 
auto operator= (thread_pool &&) -> thread_pool &=delete
 
void push (const std::function< void()> &fn)
 

Detailed Description

Definition at line 16 of file thread_pool.hpp.

Constructor & Destructor Documentation

◆ thread_pool() [1/3]

cbdc::thread_pool::thread_pool ( )
default

◆ ~thread_pool()

cbdc::thread_pool::~thread_pool ( )

Definition at line 9 of file thread_pool.cpp.

◆ thread_pool() [2/3]

cbdc::thread_pool::thread_pool ( const thread_pool & )
delete

◆ thread_pool() [3/3]

cbdc::thread_pool::thread_pool ( thread_pool && )
delete

Member Function Documentation

◆ operator=() [1/2]

auto cbdc::thread_pool::operator= ( const thread_pool & ) -> thread_pool &=delete
delete

◆ operator=() [2/2]

auto cbdc::thread_pool::operator= ( thread_pool && ) -> thread_pool &=delete
delete

◆ push()

void cbdc::thread_pool::push ( const std::function< void()> & fn)

Definition at line 19 of file thread_pool.cpp.


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