名前空間
変種
操作

ATOMIC_*_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>
#define ATOMIC_BOOL_LOCK_FREE     /* implementation-defined */

#define ATOMIC_CHAR_LOCK_FREE     /* implementation-defined */
#define ATOMIC_CHAR16_T_LOCK_FREE /* implementation-defined */
#define ATOMIC_CHAR32_T_LOCK_FREE /* implementation-defined */
#define ATOMIC_WCHAR_T_LOCK_FREE  /* implementation-defined */
#define ATOMIC_SHORT_LOCK_FREE    /* implementation-defined */
#define ATOMIC_INT_LOCK_FREE      /* implementation-defined */
#define ATOMIC_LONG_LOCK_FREE     /* implementation-defined */
#define ATOMIC_LLONG_LOCK_FREE    /* implementation-defined */

#define ATOMIC_POINTER_LOCK_FREE  /* implementation-defined */
(C11およびそれ以降)
どちらに展開01または2対応する原子型(符号付きと符号なしの両方)のロックフリー性を示している.
Original:
Expands to either 0, 1 or 2 which indicate the lock-free property of the corresponding atomic types (both signed and unsigned).
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Original:
Value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Explanation
0
原子タイプはロックフリーになることはありません
Original:
The atomic type is never lock-free
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
1
原子型は時々ロックフリーです
Original:
The atomic type is sometimes lock-free
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2
原子の種類は常にロックフリーです
Original:
The atomic type is always lock-free
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.