Raven Core  3.0.0
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 79 of file httpserver.cpp.

Constructor & Destructor Documentation

◆ ThreadCounter()

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

Definition at line 83 of file httpserver.cpp.

◆ ~ThreadCounter()

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

Definition at line 88 of file httpserver.cpp.

Member Data Documentation

◆ wq

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

Definition at line 82 of file httpserver.cpp.


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