#include <critsec.h>
Inheritance diagram for PAtomicBase:
Public Types | |
typedef int | IntegerType |
Public Member Functions | |
~PAtomicBase () | |
Destroy the atomic integer. | |
Protected Member Functions | |
PAtomicBase (IntegerType value) | |
Protected Attributes | |
pthread_mutex_t | m_mutex |
IntegerType | m_value |
typedef int PAtomicBase::IntegerType |
Reimplemented in PAtomicInteger.
__inline PAtomicBase::PAtomicBase | ( | IntegerType | value | ) | [explicit, protected] |
__inline PAtomicBase::~PAtomicBase | ( | ) |
Destroy the atomic integer.
pthread_mutex_t PAtomicBase::m_mutex [protected] |
IntegerType PAtomicBase::m_value [protected] |