Mixes for Privacy and Anonymity in the Internet
|
Public Member Functions | |
tUINT32withLock () | |
void | inc () |
int | getAndzero () |
Private Attributes | |
volatile UINT32 | value |
CAMutex | lock |
tUINT32withLock::tUINT32withLock | ( | ) |
References value.
int tUINT32withLock::getAndzero | ( | ) |
References lock, CAMutex::lock(), CAMutex::unlock(), and value.
void tUINT32withLock::inc | ( | ) |
References lock, CAMutex::lock(), CAMutex::unlock(), and value.
Referenced by CAFirstMixA::loop(), and CAFirstMixB::loop().
|
private |
Referenced by getAndzero(), and inc().
|
private |
Referenced by getAndzero(), inc(), and tUINT32withLock().