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.
Showing
- StandAlone/StandAlone.cpp 40 additions, 52 deletionsStandAlone/StandAlone.cpp
- StandAlone/Worklist.h 5 additions, 8 deletionsStandAlone/Worklist.h
- glslang/OSDependent/Unix/ossource.cpp 0 additions, 14 deletionsglslang/OSDependent/Unix/ossource.cpp
- glslang/OSDependent/Windows/ossource.cpp 0 additions, 15 deletionsglslang/OSDependent/Windows/ossource.cpp
- glslang/OSDependent/osinclude.h 0 additions, 3 deletionsglslang/OSDependent/osinclude.h
Please register or sign in to comment