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