VisualC/clean.sh
author Ryan C. Gordon
Sun, 03 Jan 2016 06:50:50 -0500
changeset 10003 d91a2c45825e
parent 9736 466fe04968c7
permissions -rwxr-xr-x
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 #!/bin/sh
     2 find . -type f \( -name '*.user' -o -name '*.sdf' -o -name '*.ncb' -o -name '*.suo' \) -print -delete
     3 find . -type f \( -name '*.bmp' -o -name '*.wav' -o -name '*.dat' \) -print -delete
     4 find . -depth -type d \( -name Win32 -o -name x64 \) -exec rm -rv {} \;