ldas-tools-diskcacheAPI
2.6.3
|
#include <counter.hh>
Public Member Functions | |
ThreadCounter (INT_2S &counter, LDASTools::AL::ReadWriteLock::baton_type lock) | |
Constructor. More... | |
~ThreadCounter () | |
Destructor. More... | |
diskCache::ThreadCounter::ThreadCounter | ( | INT_2S & | counter, |
LDASTools::AL::ReadWriteLock::baton_type | lock | ||
) |
Constructor.
[in,out] | counter | Variable holding initial value for the thread count. |
[in] | lock | Thread syncronization. |
Increments counter by 1.
diskCache::ThreadCounter::~ThreadCounter | ( | ) |
Destructor.
Decrements counter by 1.