Galois
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
galois::substrate::DummyPtrLock< T > Class Template Reference

#include <PtrLock.h>

Public Member Functions

 DummyPtrLock ()
 
void lock ()
 
void unlock ()
 
void unlock_and_clear ()
 
void unlock_and_set (T *val)
 
T * getValue () const
 
void setValue (T *val)
 
bool try_lock () const
 
bool is_locked () const
 
bool CAS (T *oldval, T *newval)
 
bool stealing_CAS (T *oldval, T *newval)
 

Constructor & Destructor Documentation

template<typename T >
galois::substrate::DummyPtrLock< T >::DummyPtrLock ( )
inline

Member Function Documentation

template<typename T >
bool galois::substrate::DummyPtrLock< T >::CAS ( T *  oldval,
T *  newval 
)
inline
template<typename T >
T* galois::substrate::DummyPtrLock< T >::getValue ( ) const
inline
template<typename T >
bool galois::substrate::DummyPtrLock< T >::is_locked ( ) const
inline
template<typename T >
void galois::substrate::DummyPtrLock< T >::lock ( )
inline
template<typename T >
void galois::substrate::DummyPtrLock< T >::setValue ( T *  val)
inline
template<typename T >
bool galois::substrate::DummyPtrLock< T >::stealing_CAS ( T *  oldval,
T *  newval 
)
inline
template<typename T >
bool galois::substrate::DummyPtrLock< T >::try_lock ( ) const
inline
template<typename T >
void galois::substrate::DummyPtrLock< T >::unlock ( )
inline
template<typename T >
void galois::substrate::DummyPtrLock< T >::unlock_and_clear ( )
inline
template<typename T >
void galois::substrate::DummyPtrLock< T >::unlock_and_set ( T *  val)
inline

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