Impact of volatile and atomic on performance

Marc Brooker posted an interesting breakdown on the performance impact on use of volatile and atomic. He also points out that volatile alone doesn’t prevent concurrency issues – if you need synchronisation, then you need atomic.

Leave a comment

Filed under C++

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.