ldas-tools-diskcacheAPI  2.6.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
diskCache::ThreadCounter Class Reference

#include <counter.hh>

Public Member Functions

 ThreadCounter (INT_2S &counter, LDASTools::AL::ReadWriteLock::baton_type lock)
 Constructor. More...
 
 ~ThreadCounter ()
 Destructor. More...
 

Constructor & Destructor Documentation

diskCache::ThreadCounter::ThreadCounter ( INT_2S &  counter,
LDASTools::AL::ReadWriteLock::baton_type  lock 
)

Constructor.

Parameters
[in,out]counterVariable holding initial value for the thread count.
[in]lockThread syncronization.

Increments counter by 1.

diskCache::ThreadCounter::~ThreadCounter ( )

Destructor.

Decrements counter by 1.


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