PTLib  Version 2.18.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
atomic< Type > Struct Template Reference

#include <atomic.h>

Inheritance diagram for atomic< Type >:

Public Member Functions

__inline atomic ()
 
__inline atomic (Type value)
 
__inline atomic (const atomic &other)
 
__inline ~atomic ()
 
__inline atomicoperator= (const atomic &other)
 
__inline operator Type () const
 
__inline Type load () const
 
__inline void store (Type value)
 
__inline Type exchange (Type value)
 
bool compare_exchange_strong (Type &comp, Type value)
 

Constructor & Destructor Documentation

template<typename Type>
__inline atomic< Type >::atomic ( )
inline
template<typename Type>
__inline atomic< Type >::atomic ( Type  value)
inline
template<typename Type>
__inline atomic< Type >::atomic ( const atomic< Type > &  other)
inline
template<typename Type>
__inline atomic< Type >::~atomic ( )
inline

Member Function Documentation

template<typename Type>
bool atomic< Type >::compare_exchange_strong ( Type &  comp,
Type  value 
)
inline
template<typename Type>
__inline Type atomic< Type >::exchange ( Type  value)
inline
template<typename Type>
__inline Type atomic< Type >::load ( ) const
inline
template<typename Type>
__inline atomic< Type >::operator Type ( ) const
inline
template<typename Type>
__inline atomic& atomic< Type >::operator= ( const atomic< Type > &  other)
inline
template<typename Type>
__inline void atomic< Type >::store ( Type  value)
inline

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