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