Namensräume
Varianten
Aktionen

Atomic operations library

Aus cppreference.com
< cpp


 
 
Atomare Operationen Bibliothek
Types
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)
Funktionen
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)
Atomic Fahnen
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)
Initialisierung
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)
Speicher Bestellung
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)
 
Die atomare Bibliothek bietet Komponenten für feinkörnige atomare Operationen unter Berücksichtigung lockless Concurrent Programming. Jedes atomare Operation ist unteilbar in Bezug auf jede andere atomare Operation, die das gleiche Objekt handelt. Atomaren Objekte sind die einzige C + +-Objekte frei von Daten Rennen, das heißt, wenn ein Thread schreibt atomarer während ein anderer Thread liest daraus ist, ist das Verhalten wohldefinierte .
Original:
The atomic library provides components for fine-grained atomic operations allowing for lockless concurrent programming. Each atomic operation is indivisible with regards to any other atomic operation that involves the same object. Atomic objects are the only C++ objects free of data races; that is, if one thread writes to an atomic while another thread reads from it, the behavior is well-defined.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Defined in header <atomic>

Inhaltsverzeichnis

Atomic Typen
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)
atomare Klasse Vorlage und Spezialisierungen für bool-, Integral-und Zeiger-Typen
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.

(Klassen-Template) [edit]
Operationen auf atomare Typen
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.
Prüft, ob die operationen eines atomaren typs lock-frei sind
(Funktions-Template) [edit]
atomar ersetzt den Wert des atomaren Objekt mit einem nicht-atomare Argument
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.

(Funktions-Template) [edit]
atomar erhält den Wert in einem atomaren Objekt gespeichert
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.

(Funktions-Template) [edit]
atomar ersetzt den Wert des atomaren Objekt mit nicht-elementare Argument und gibt den alten Wert des atomaren
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.

(Funktions-Template) [edit]
atomar vergleicht den Wert des atomaren Objekt mit nicht-elementare Argument und führt atomaren Austausch wenn gleiche oder atomare Last, wenn nicht
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.

(Funktions-Template) [edit]
fügt eine nicht-elementare Wert einem atomaren Objekt und erhält den vorherigen Wert des atomaren
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.

(Funktions-Template) [edit]
subtrahiert eine nicht-elementare Wert aus einer atomaren Objekt und erhält den vorherigen Wert des atomaren
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.

(Funktions-Template) [edit]
ersetzt das atomare Objekt mit dem Ergebnis der logischen UND mit einem nicht-Atom Argument und erhält den vorherigen Wert des atomaren
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.

(Funktions-Template) [edit]
ersetzt das atomare Objekt mit dem Ergebnis der logischen ODER mit einem nicht-Atom Argument und erhält den vorherigen Wert des atomaren
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.

(Funktions-Template) [edit]
ersetzt das atomare Objekt mit dem Ergebnis der logischen XOR mit einem nicht-Atom Argument und erhält den vorherigen Wert des atomaren
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.

(Funktions-Template) [edit]
Flag Art und Operationen
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.
Die Lock-freie boolean atomaren Typ
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.

(Klasse) [edit]
atomar setzt das Flag auf true und gibt den vorherigen Wert
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.

(Funktion) [edit]
atomar setzt den Wert der Flagge auf 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.

(Funktion) [edit]
Initialisierung
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
(Funktions-Template) [edit]
konstanten Initialisierung eines atomaren Variable static Lagerdauer
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.

(funktionieren Makro) [edit]
initializes an std::atomic_flag to false
(Makro konstant) [edit]
Speicher-Synchronisation Bestellung
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.
definiert Speicher Bestellung Einschränkungen für den angegebenen atomaren Operation
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]
Entfernt das angegebene Objekt aus der std::memory_order_consume Abhängigkeit Baum
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.

(Funktions-Template) [edit]
generische Memory um-abhängige Zaun Synchronisierungsgrundeinheit
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.

(Funktion) [edit]
Zaun zwischen einem Gewinde und einer Signal-Handler im selben Thread ausgeführt
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.

(Funktion) [edit]