Ptex: PtexInternal::_SpinLock Class Reference

Ptex

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- Class List
- Class Hierarchy
- Class Members

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

Definition at line 145 of file PtexPlatform.h.

References _spinlock.

Referenced by PtexReaderCache::get(), PtexReader::getData(), PtexReader::MetaData::getEntry(), PtexReader::TiledReducedFace::getTile(), PtexReader::readFace(), PtexReader::readLevel(), PtexReader::readMetaData(), and PtexReader::TiledFace::readTile().

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

Definition at line 146 of file PtexPlatform.h.

References _spinlock.

Referenced by PtexReaderCache::get(), PtexReader::getData(), PtexReader::MetaData::getEntry(), PtexReader::TiledReducedFace::getTile(), PtexReader::readFace(), PtexReader::readLevel(), PtexReader::readMetaData(), and PtexReader::TiledFace::readTile().

## 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:

- PtexPlatform.h