|
ランタイム
|
アトミック変数クラス More...
#include <AtomicValue.h>
Public Member Functions | |
| AtomicValue (void) | |
| コンストラクタ More... | |
| AtomicValue (const Long32 v) | |
| コンストラクタ More... | |
| Long32 | Set (Long32 v) |
| 値を設定します More... | |
| Long32 | Get (void) const |
| 値を取得します More... | |
| Long32 | Add (Long32 v) |
| 指定した値を加算します More... | |
| Long32 | Increment (void) |
| 値を一つ増やします More... | |
| Long32 | Decrement (void) |
| 値を一つ減らします More... | |
| Long32 | CompareAndSet (Long32 v, Long32 cv) |
| 引数 cv と 自身と比較し、等しい場合は、自身に引数 v を設定します More... | |
| void | operator= (Long32 v) |
| 値を設定します More... | |
アトミック変数クラス
| Mix::AtomicValue::AtomicValue | ( | void | ) |
コンストラクタ
| Mix::AtomicValue::AtomicValue | ( | const Long32 | v | ) |
コンストラクタ
| [in] | v | 初期値 |
| Long32 Mix::AtomicValue::Get | ( | void | ) | const |
値を取得します
| Long32 Mix::AtomicValue::Increment | ( | void | ) |
値を一つ増やします
| Long32 Mix::AtomicValue::Decrement | ( | void | ) |
値を一つ減らします
引数 cv と 自身と比較し、等しい場合は、自身に引数 v を設定します
| [in] | v | 設定する値 |
| [in] | cv | 比較する値 |
| void Mix::AtomicValue::operator= | ( | Long32 | v | ) |
値を設定します
| [in] | v | 設定する値 |