Remove threads.h and replace its definitions with their C++11 equivalents (#5957)
authorShadowNinja <ShadowNinja@users.noreply.github.com>
Sun, 11 Jun 2017 07:43:05 +0000 (03:43 -0400)
committerLoïc Blot <nerzhul@users.noreply.github.com>
Sun, 11 Jun 2017 07:43:05 +0000 (09:43 +0200)
commit6c5e5e202394ce8063e3c2d9b663145bc4f8efce
tree2916ed7f7fc19c934fe5f614a9eeb1a282f13081
parent5cc8ad946efb3612eb6ea8655780b29fe4c62e19
Remove threads.h and replace its definitions with their C++11 equivalents (#5957)

This also changes threadProc's signature, since C++11 supports arbitrary
thread function signatures.
16 files changed:
src/client/tile.cpp
src/client/tile.h
src/debug.cpp
src/itemdef.cpp
src/log.cpp
src/log.h
src/porting.h
src/script/cpp_api/s_base.h
src/script/cpp_api/s_internal.h
src/shader.cpp
src/shader.h
src/threading/event.cpp
src/threading/event.h
src/threading/thread.cpp
src/threading/thread.h
src/threads.h [deleted file]