Quantcast
Channel: Is struct assignment atomic in C/C++? - Stack Overflow
Viewing all articles
Browse latest Browse all 5

Answer by sharptooth for Is struct assignment atomic in C/C++?

$
0
0

No, both C and C++ standard don't guarantee assignment operations to be atomic. You need some implementation-specific stuff for that - either something in the compiler or in the operating system.


Viewing all articles
Browse latest Browse all 5

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>