AutoLock Class Reference

#include <c4d_thread.h>

详细描述

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

注意
Needs the keyword mutable .
另请参阅
AutoLocker for an example.

公共成员函数

  AutoLock ()

私有成员函数

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

Private Attributes

maxon::Spinlock   lock
volatile UInt32   threadid

Friends

class  AutoLocker

构造函数 & 析构函数文档编制

◆  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