| Start |
|---|
| Multi-threaded Access An atomic type can be used to safely read and write to a memory location shared between two threads. A Bad example that is likely to cause a data race: The above example may cause a corrupted read and can lead to undefined behavior. An example with thread safety: The above example is safe because all Syntax
Remarks
|
Read Article
https://develop.horje.com/learn/1434/reference