名前空間
変種
操作

atomic_flag_clear, atomic_flag_clear_explicit

提供: 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>
void atomic_flag_clear( volatile atomic_flag* obj );
(1)
void atomic_flag_clear_explicit( volatile atomic_flag* obj, memory_order order );
(2)
がアトミックatomic_flagの状態(obj)をクリアするfalseによって指さ変更して、使用するアロケータ。最初のバージョンの受注メモリがmemory_order_seq_cstに従ってアクセスし、2番目のバージョンの受注メモリはorder.
Original:
Atomically changes the state of a atomic_flag pointed to by obj to clear (false). The first version orders memory accesses according to memory_order_seq_cst, the second version orders memory accesses according to order.
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 flag object to modify
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
order -
メモリ同期は、この操作の順序:すべての値が許可されています
Original:
the memory synchronization ordering for this operation: all values are permitted
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] 値を返します

(なし)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

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

trueにatomic_flagを設定して、以前の値を返します
Original:
sets an atomic_flag to true and returns the old value
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_flag_clear, atomic_flag_clear_explicit