This refactor the StandAlone and WorkList files in order to use more
authorJuan Lopez <juan.ant.lopez@gmail.com>
Sun, 2 Apr 2017 21:04:00 +0000 (23:04 +0200)
committerJuan Lopez <juan.ant.lopez@gmail.com>
Tue, 4 Apr 2017 20:29:59 +0000 (22:29 +0200)
commita558b26537e47068f027856ab60a9c3ba45ffdbe
tree8a543c375db6c4d8b155394ef95ce525e335481a
parentc7fd73b784c99f97926a230a6bd2ce90e70f9f78
This refactor the StandAlone and WorkList files in order to use more
C++11 features remove the dependencies from OS specific code. Changes:

- Making WorkList class to have its own mutex instead of the OS specific
global one. The new mutex is the one from std library. The OS specific
code is also removed.

- Using the C++11 std library to handle threads in StandAlone
application
and enabling concurrent processing on non-windows platforms.

- converting the global variable Worklist into local variable workList.
StandAlone/StandAlone.cpp
StandAlone/Worklist.h
glslang/OSDependent/Unix/ossource.cpp
glslang/OSDependent/Windows/ossource.cpp
glslang/OSDependent/osinclude.h