PTLib  Version 2.10.11
PAtomicBase Class Reference

#include <critsec.h>

Inheritance diagram for PAtomicBase:
PAtomicBoolean PAtomicInteger

Public Types

typedef int IntegerType
 

Public Member Functions

 ~PAtomicBase ()
 Destroy the atomic integer. More...
 

Protected Member Functions

 PAtomicBase (IntegerType value)
 

Protected Attributes

pthread_mutex_t m_mutex
 
IntegerType m_value
 

Member Typedef Documentation

Constructor & Destructor Documentation

__inline PAtomicBase::PAtomicBase ( IntegerType  value)
explicitprotected
__inline PAtomicBase::~PAtomicBase ( )

Destroy the atomic integer.

Referenced by PAtomicBoolean::TestAndSet().

Member Data Documentation

pthread_mutex_t PAtomicBase::m_mutex
protected

The documentation for this class was generated from the following file: