#include <AtomicCounter.h>
Public Member Functions | |
| AtomicCounter (int init=0) | |
| ~AtomicCounter () | |
| int | value () |
| void | wait (int until=0) |
| void | unblockAll () |
| AtomicCounter & | operator++ () |
| AtomicCounter | operator++ (int) |
| AtomicCounter & | operator-- () |
| AtomicCounter | operator-- (int) |
Classes | |
| class | Lock |
Definition at line 15 of file AtomicCounter.h.
| ibrcommon::AtomicCounter::AtomicCounter | ( | int | init = 0 |
) |
| ibrcommon::AtomicCounter::~AtomicCounter | ( | ) |
| int ibrcommon::AtomicCounter::value | ( | ) |
Definition at line 24 of file AtomicCounter.cpp.
| void ibrcommon::AtomicCounter::wait | ( | int | until = 0 |
) |
| void ibrcommon::AtomicCounter::unblockAll | ( | ) |
Definition at line 30 of file AtomicCounter.cpp.
References ibrcommon::Conditional::signal().
Referenced by ~AtomicCounter().
| AtomicCounter & ibrcommon::AtomicCounter::operator++ | ( | ) |
| AtomicCounter ibrcommon::AtomicCounter::operator++ | ( | int | ) |
Definition at line 54 of file AtomicCounter.cpp.
References AtomicCounter(), and ibrcommon::Conditional::signal().
| AtomicCounter & ibrcommon::AtomicCounter::operator-- | ( | ) |
| AtomicCounter ibrcommon::AtomicCounter::operator-- | ( | int | ) |
Definition at line 70 of file AtomicCounter.cpp.
References AtomicCounter(), and ibrcommon::Conditional::signal().
1.5.6