AutoRWLock Class Reference

#include <c4d_thread.h>

Detailed Description

Has to be embedded in a structure to be protected by AutoRWLocker.

Note
Needs the keyword mutable.
See also
AutoRWLocker.

Public Member Functions

 AutoRWLock ()
 

Private Attributes

maxon::RWSpinlock lock
 
volatile UInt32 threadid
 

Friends

class AutoRWLocker
 

Constructor & Destructor Documentation

◆ AutoRWLock()

Constructor.

Friends And Related Function Documentation

◆ AutoRWLocker

friend class AutoRWLocker
friend

Member Data Documentation

◆ lock

maxon::RWSpinlock lock
private

◆ threadid

volatile UInt32 threadid
private