ランタイム
AtomicValue.h
Go to the documentation of this file.
1 #pragma once
2 
5 
6 namespace Mix{
7 
11  {
12  private:
13  volatile Long32 m_Value;
14 
15  public:
17  AtomicValue( void );
20  AtomicValue( const Long32 v );
21 
22  public:
26  Long32 Set( Long32 v );
29  Long32 Get( void ) const;
33  Long32 Add( Long32 v );
36  Long32 Increment( void );
39  Long32 Decrement( void );
44  Long32 CompareAndSet( Long32 v, Long32 cv );
45 
48  void operator = ( Long32 v );
49  };
50 }
アトミック変数クラス
Definition: AtomicValue.h:10
long Long32
符号有り32ビット整数
Definition: Common.h:77
ミックス
Definition: AtomicValue.h:6
#define _MIX_DLL_API
DLLインポート定義
Definition: Common.h:38