Shared counter.
More...
#include <JSharedCounter.hh>
Shared counter.
Definition at line 18 of file JSharedCounter.hh.
JLANG::JSharedCounter::JSharedCounter |
( |
| ) |
|
|
inline |
void JLANG::JSharedCounter::initialise |
( |
| ) |
|
|
inline |
Attach this counter to given shared counter object.
- Parameters
-
Definition at line 45 of file JSharedCounter.hh.
bool JLANG::JSharedCounter::detach |
( |
| ) |
|
|
inline |
Detach.
- Returns
- true if counter at zero; else false
Definition at line 62 of file JSharedCounter.hh.
int* JLANG::JSharedCounter::counter |
|
protected |
The documentation for this class was generated from the following file: