名前空間
変種
操作

atomic_is_lock_free

提供: cppreference.com
< c‎ | atomic

 
 
アトミック操作ライブラリ
タイプ
Original:
Types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
memory_order
atomic_flag
マクロ
Original:
Macros
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
ATOMIC_***_LOCK_FREE
ATOMIC_FLAG_INIT
ATOMIC_VAR_INIT
kill_dependency
機能します
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_flag_test_and_set
atomic_flag_clear
atomic_init
atomic_is_lock_free
atomic_store
atomic_load
atomic_exchange
atomic_compare_exchange
atomic_fetch_add
atomic_fetch_sub
atomic_fetch_or
atomic_fetch_xor
atomic_fetch_and
atomic_thread_fence
atomic_signal_fence
 
Defined in header <stdatomic.h>
_Bool atomic_is_lock_free( const volatile A* obj );
アトミックオブジェクトがobjがロックフリー実装されていますが指すかどうかを判断します.
Original:
Determines if the atomic object pointed to by obj is implemented lock-free.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
これは、すべての原子オブジェクト·タイプに対して定義汎用関数です。 Aアトミックオブジェクトのタイプです.
Original:
This is a 汎用関数 defined for all atomic object types. A is the type of 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.

[編集] パラメータ

obj -
検査するアトミックオブジェクトへのポインタ
Original:
pointer to the atomic object to inspect
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] 値を返します

trueアトミックオブジェクトがロックフリーであれば、そうでなければfalse.
Original:
true if the atomic object is lock-free, false otherwise.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] も参照してください

与えられた原子タイプはロックフリーであることを示します
Original:
indicates that the given atomic type is 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]
C++ documentation for atomic_is_lock_free