Ptex
Public Member Functions | Private Attributes | List of all members
PtexInternal::_SpinLock Class Reference

#include <PtexPlatform.h>

Public Member Functions

 _SpinLock ()
 
 ~_SpinLock ()
 
void lock ()
 
void unlock ()
 

Private Attributes

pthread_spinlock_t _spinlock
 

Detailed Description

Definition at line 141 of file PtexPlatform.h.

Constructor & Destructor Documentation

PtexInternal::_SpinLock::_SpinLock ( )
inline

Definition at line 143 of file PtexPlatform.h.

References _spinlock.

PtexInternal::_SpinLock::~_SpinLock ( )
inline

Definition at line 144 of file PtexPlatform.h.

References _spinlock.

Member Function Documentation

void PtexInternal::_SpinLock::lock ( )
inline
void PtexInternal::_SpinLock::unlock ( )
inline

Member Data Documentation

pthread_spinlock_t PtexInternal::_SpinLock::_spinlock
private

Definition at line 148 of file PtexPlatform.h.

Referenced by _SpinLock(), lock(), unlock(), and ~_SpinLock().


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