VisualC-WinRT/SDL2main-WinRT-NonXAML.targets
author Ryan C. Gordon
Sun, 03 Jan 2016 06:50:50 -0500
changeset 10003 d91a2c45825e
parent 9942 e82bfd942409
permissions -rw-r--r--
Remove almost all instances of "volatile" keyword.

As Tiffany pointed out in Bugzilla, volatile is not useful for thread safety:

https://software.intel.com/en-us/blogs/2007/11/30/volatile-almost-useless-for-multi-threaded-programming/

Some of these volatiles didn't need to be, some were otherwise protected by
spinlocks or mutexes, and some got moved over to SDL_atomic_t data, etc.

Fixes Bugzilla #3220.
     1 <?xml version="1.0" encoding="utf-8"?>
     2 <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
     3 
     4   <ItemGroup Label="LibSDL2">
     5     <ClCompile Include="$(MSBuildThisFileDirectory)..\..\src\main\winrt\SDL_winrt_main_NonXAML.cpp">
     6       <CompileAsWinRT>true</CompileAsWinRT>
     7     </ClCompile>
     8   </ItemGroup>
     9 
    10 </Project>