AutoLock Class Reference

#include <c4d_thread.h>

Detailed Description

Has to be embedded in a structure to be protected by AutoLocker. Deprecated.

Note
Needs the keyword mutable.
See also
AutoLocker for an example.

Public Member Functions

 AutoLock ()
 

Private Member Functions

 AutoLock (const AutoLock &al)
 
 AutoLock (const AutoLocker &al)
 

Private Attributes

maxon::Spinlock lock
 
volatile UInt32 threadid
 

Friends

class AutoLocker
 

Constructor & Destructor Documentation

◆ AutoLock() [1/3]

AutoLock ( const AutoLock al)
private

◆ AutoLock() [2/3]

AutoLock ( const AutoLocker al)
private

◆ AutoLock() [3/3]

AutoLock ( )

Constructor.

Friends And Related Function Documentation

◆ AutoLocker

friend class AutoLocker
friend

Member Data Documentation

◆ lock

maxon::Spinlock lock
private

◆ threadid

volatile UInt32 threadid
private