名前空間
変種
操作

Atomic operations library

提供: cppreference.com
< cpp
 
 
アトミック操作ライブラリ
タイプ
Original:
Types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
atomic(C++11)
atomic_is_lock_free(C++11)
機能します
Original:
Functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
atomic_store
atomic_store_explicit
(C++11)
(C++11)
atomic_load
atomic_load_explicit
(C++11)
(C++11)
atomic_exchange
atomic_exchange_explicit
(C++11)
(C++11)
atomic_compare_exchange_weak
atomic_compare_exchange_weak_explicit
atomic_compare_exchange_strong
atomic_compare_exchange_strong_explicit
(C++11)
(C++11)
(C++11)
(C++11)
atomic_fetch_add
atomic_fetch_add_explicit
(C++11)
(C++11)
atomic_fetch_sub
atomic_fetch_sub_explicit
(C++11)
(C++11)
atomic_fetch_and
atomic_fetch_and_explicit
(C++11)
(C++11)
atomic_fetch_or
atomic_fetch_or_explicit
(C++11)
(C++11)
atomic_fetch_xor
atomic_fetch_xor_explicit
(C++11)
(C++11)
アトミックのフラグ
Original:
Atomic flags
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
atomic_flag(C++11)
atomic_flag_test_and_set
atomic_flag_test_and_set_explicit
(C++11)
(C++11)
atomic_flag_clear
atomic_flag_clear_explicit
(C++11)
(C++11)
初期化
Original:
Initialization
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
atomic_init(C++11)
ATOMIC_VAR_INIT(C++11)
ATOMIC_FLAG_INIT(C++11)
メモリは発注
Original:
Memory ordering
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
memory_order(C++11)
kill_dependency(C++11)
atomic_thread_fence(C++11)
atomic_signal_fence(C++11)
 

アトミック操作ライブラリは、ロックフリーな並列プログラミングに必要となる高粒度なアトミック操作のためのコンポーネントを提供します。アトミック操作は、それと同じオブジェクトを対象とする他のアトミック操作に対して不可分な操作です。アトミックなオブジェクトはデータ競合が発生しない唯一のC++のオブジェクトです。つまり、あるスレッドがアトミックなオブジェクトから読み込んでいる間の他のスレッドが書き込んだ場合、その動作の結果は明確に定義することができます。

Defined in header <atomic>

目次

アトミック型
Original:
Atomic types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
アトミッククラステンプレートとbool、積分、およびポインタ型を特殊
Original:
atomic class template and specializations for bool, integral, and pointer types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(クラステンプレート) [edit]
原子型の事業かどうかをチェックするには、ロックフリーです
Original:
checks if the atomic type's operations are lock-free
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(関数テンプレート) [edit]
アトミック型に対する演算
Original:
Operations on atomic types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
アトミックに非アトミック引数でアトミックオブジェクトの値を置き換えます
Original:
atomically replaces the value of the atomic object with a non-atomic argument
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(関数テンプレート) [edit]
アトミックアトミックオブジェクトに格納されている値を取得します
Original:
atomically obtains the value stored in an atomic object
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(関数テンプレート) [edit]
アトミックに非アトミック引数でアトミックオブジェクトの値を置き換え、原子の古い値を返します
Original:
atomically replaces the value of the atomic object with non-atomic argument and returns the old value of the atomic
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(関数テンプレート) [edit]
アトミックに非アトミック引数でアトミックオブジェクトの値を比較し、等しいか、またはアトミックロードする場合しない場合、原子交換を行う
Original:
atomically compares the value of the atomic object with non-atomic argument and performs atomic exchange if equal or atomic load if not
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(関数テンプレート) [edit]
アトミックオブジェクトに非アトミック値を追加し、アトミックの前の値を取得します
Original:
adds a non-atomic value to an atomic object and obtains the previous value of the atomic
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(関数テンプレート) [edit]
原子オブジェクトから非アトミック値を減算し、アトミックの前の値を取得します
Original:
subtracts a non-atomic value from an atomic object and obtains the previous value of the atomic
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(関数テンプレート) [edit]
論理の結果で、非アトミック引数を持つ原子オブジェクトを置き換え、原子の前の値を取得します
Original:
replaces the atomic object with the result of logical AND with a non-atomic argument and obtains the previous value of the atomic
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(関数テンプレート) [edit]
論理的な結果をOR非アトミック引数を持つ原子オブジェクトを置き換え、原子の前の値を取得します
Original:
replaces the atomic object with the result of logical OR with a non-atomic argument and obtains the previous value of the atomic
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(関数テンプレート) [edit]
非アトミック引数で排他的論理和の結果と不可分なオブジェクトを置き換え、原子の前の値を取得します
Original:
replaces the atomic object with the result of logical XOR with a non-atomic argument and obtains the previous value of the atomic
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(関数テンプレート) [edit]
フラグ型および操作
Original:
Flag type and operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
ロックフリーブール原子型
Original:
the lock-free boolean atomic type
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(クラス) [edit]
アトミックtrueにフラグを設定し、その前の値を返します
Original:
atomically sets the flag to true and returns its previous value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(関数) [edit]
アトミックfalseにフラグの値が設定されます
Original:
atomically sets the value of the flag to false
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(関数) [edit]
初期化
Original:
Initialization
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
non-atomic initialization of a default-constructed atomic object
(関数テンプレート) [edit]
静的記憶域期間のアトミック変数の定数初期化
Original:
constant initialization of an atomic variable of static storage duration
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(関数マクロ) [edit]
initializes an std::atomic_flag to false
(マクロ定数) [edit]
メモリ同期・順序
Original:
Memory synchronization ordering
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
与えられたアトミック操作用のメモリ順序の制約を定義しています
Original:
defines memory ordering constraints for the given atomic operation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(typedef) [edit]
std::memory_order_consumeの依存関係ツリーから指定されたオブジェクトを削除します
Original:
removes the specified object from the std::memory_order_consume dependency tree
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(関数テンプレート) [edit]
汎用メモリ順序依存フェンス同期プリミティブ
Original:
generic memory order-dependent fence synchronization primitive
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(関数) [edit]
スレッドと同じスレッドで実行されるシグナルハンドラの間のフェンス
Original:
fence between a thread and a signal handler executed in the same thread
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(関数) [edit]