Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
WorkQueue< WorkItem >::ThreadCounter Class Reference

RAII object to keep track of number of running worker threads. More...

Collaboration diagram for WorkQueue< WorkItem >::ThreadCounter:
[legend]

Public Member Functions

 ThreadCounter (WorkQueue &w)
 
 ~ThreadCounter ()
 

Public Attributes

WorkQueuewq
 

Detailed Description

template<typename WorkItem>
class WorkQueue< WorkItem >::ThreadCounter

RAII object to keep track of number of running worker threads.

Definition at line 80 of file httpserver.cpp.

Constructor & Destructor Documentation

template<typename WorkItem>
WorkQueue< WorkItem >::ThreadCounter::ThreadCounter ( WorkQueue w)
inline

Definition at line 84 of file httpserver.cpp.

template<typename WorkItem>
WorkQueue< WorkItem >::ThreadCounter::~ThreadCounter ( )
inline

Definition at line 89 of file httpserver.cpp.

Member Data Documentation

template<typename WorkItem>
WorkQueue& WorkQueue< WorkItem >::ThreadCounter::wq

Definition at line 83 of file httpserver.cpp.


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