New article – Multithreaded simple data type access and atomic variables

atomicThis is a conclusion of two of my previous posts. If changing integer from two or more threads at the same time, will it value turn into garbage? What is the most efficient way of changing a simple variable, with two or more threads, at the same time, without turning its value into garbage?

This article is about the most effective way of changing simple variable type from two threads at the same time. I am talking about recently added into gcc atomic variables. To the article.

Did you know that you can receive periodical updates with the latest articles that I write right into your email box? Alternatively, you subscribe to the RSS feed!

Want to know how? Check out
Subscribe page

Leave a Reply

Prove you are not a computer or die *