Mixes for Privacy and Anonymity in the Internet
Public Member Functions | Private Attributes | List of all members
tUINT32withLock Class Reference

Public Member Functions

 tUINT32withLock ()
 
void inc ()
 
int getAndzero ()
 

Private Attributes

volatile UINT32 value
 
CAMutex lock
 

Constructor & Destructor Documentation

◆ tUINT32withLock()

tUINT32withLock::tUINT32withLock ( )

References value.

Member Function Documentation

◆ getAndzero()

int tUINT32withLock::getAndzero ( )

◆ inc()

void tUINT32withLock::inc ( )

Member Data Documentation

◆ lock

CAMutex tUINT32withLock::lock
private

Referenced by getAndzero(), and inc().

◆ value

volatile UINT32 tUINT32withLock::value
private

Referenced by getAndzero(), inc(), and tUINT32withLock().