Atomic Operations and Lock-Free Programming
| Getting Started with C++ |
C++ Programming Course
Welcome to the complete C++ programming course, taking you from zero to hero. This course covers everything you need to know to become proficient in C++ programming, from installation and setup to advanced template metaprogramming and the standard library.
Getting Started with C++
Before you can start programming in C++, you need a compiler and text editor. In this lesson we cover {content}.
Atomic Operations and Lock-Free Programming
std::atomic - atomic integer
flag.load() / flag.store() - atomic access
flag.compare_exchange_strong(expected, desired) - CAS operation
Memory ordering: std::memory_order_relaxed, seq_cst, release, acquire
Next: Exception Safety Deep Dive
Article author: Arthur Isaev
| I recommend our hosting beget.com |
| Write to info@aredel.com if you: |
| 1. Want to write an article for our site or translate an article into your native language. |
| 2. Want to place thematically relevant ads on the site. |
| 3. Ads on my site pass maximum censorship. If you see an ad block unsuitable for school-age children, shocking or misleading - please contact us by e-mail |
| 4. Found a mistake, inaccuracy, bug, etc. on the site. ... ....... |
| 5. Articles can be shared on social media by clicking a network icon:
|