Page MenuHomePhabricator

review all usage of 'volatile' keyword
Open, HighPublic

Description

It seems that at least one contributor over the years has had the misconception that volatile can/should be used for threadsafety or implies atomicity. This is not correct. Proper locking needs to be used for all of these cases.

Anyone interested in more info should check out https://software.intel.com/en-us/blogs/2007/11/30/volatile-almost-useless-for-multi-threaded-programming