#include <parallel.h>
Static Public Member Functions | |
| static RWMutex * | Create () |
| static void | Destroy (RWMutex *m) |
Private Member Functions | |
| RWMutex () | |
| ~RWMutex () | |
| RWMutex (RWMutex &) | |
| RWMutex & | operator= (const RWMutex &) |
Private Attributes | |
| pthread_rwlock_t | mutex |
Friends | |
| struct | RWMutexLock |
Definition at line 230 of file parallel.h.
| RWMutex::RWMutex | ( | ) | [private] |
Definition at line 137 of file parallel.cpp.
| RWMutex::~RWMutex | ( | ) | [private] |
Definition at line 145 of file parallel.cpp.
References mutex, and Severe().
Referenced by Destroy().
| RWMutex::RWMutex | ( | RWMutex & | ) | [private] |
| RWMutex * RWMutex::Create | ( | ) | [static] |
Definition at line 122 of file parallel.cpp.
References AllocAligned(), and PBRT_L1_CACHE_LINE_SIZE.
Referenced by GridAccel::GridAccel(), IrradianceCacheIntegrator::IrradianceCacheIntegrator(), and SurfacePointsRenderer::Render().
| void RWMutex::Destroy | ( | RWMutex * | m | ) | [static] |
Definition at line 130 of file parallel.cpp.
References FreeAligned(), and ~RWMutex().
Referenced by SurfacePointsRenderer::Render(), GridAccel::~GridAccel(), and IrradianceCacheIntegrator::~IrradianceCacheIntegrator().
friend struct RWMutexLock [friend] |
Definition at line 238 of file parallel.h.
pthread_rwlock_t RWMutex::mutex [private] |
Definition at line 260 of file parallel.h.
Referenced by RWMutexLock::DowngradeToRead(), RWMutex(), RWMutexLock::RWMutexLock(), RWMutexLock::UpgradeToWrite(), ~RWMutex(), and RWMutexLock::~RWMutexLock().
1.6.3