1
1
forked from 0ad/0ad
0ad/source
wraitii 5ee8354e99 Fix windows SEH hook when crashing in an std::thread
Follows 107d3d461f and other 'pthread->std::thread' diffs.

Windows uses Structured Exception Handling to allow reporting errors
(both C++ and hardware) nicely. This works by wrapping the code in a
__try __catch block.
The pthread wrapper did this automatically, but we now need to do it
explicitly for std::thread.

Tested by: Stan
Differential Revision: https://code.wildfiregames.com/D3261
This was SVN commit r24530.
2021-01-10 08:39:54 +00:00
..
collada Fix compiler warnings on VS 2015, refs #3439, refs #5069. 2018-03-10 09:58:53 +00:00
graphics Fix windows SEH hook when crashing in an std::thread 2021-01-10 08:39:54 +00:00
gui Add missing files in 4942cabab5 2020-12-31 14:27:02 +00:00
i18n Update ICU on Windows to 68.1 with the v140_xp toolset. 2020-12-02 16:47:28 +00:00
lib Fix windows SEH hook when crashing in an std::thread 2021-01-10 08:39:54 +00:00
lobby Add missing files in 4942cabab5 2020-12-31 14:27:02 +00:00
maths Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
mocks More FreeBSD build fixes. 2012-01-30 06:21:11 +00:00
network Fix windows SEH hook when crashing in an std::thread 2021-01-10 08:39:54 +00:00
pch Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
ps Fix windows SEH hook when crashing in an std::thread 2021-01-10 08:39:54 +00:00
renderer Fix renderer crash in GCC 7.5. 2021-01-06 14:56:17 +00:00
rlinterface Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
scriptinterface Fix windows SEH hook when crashing in an std::thread 2021-01-10 08:39:54 +00:00
simulation2 Fix renderer crash in GCC 7.5. 2021-01-06 14:56:17 +00:00
soundmanager Fix windows SEH hook when crashing in an std::thread 2021-01-10 08:39:54 +00:00
third_party Fix most Clang 10 Warnings 2020-12-31 14:25:37 +00:00
tools Fix windows SEH hook when crashing in an std::thread 2021-01-10 08:39:54 +00:00
main.cpp Thread the NetClient session. 2021-01-06 15:26:11 +00:00
test_setup.cpp Fix windows SEH hook when crashing in an std::thread 2021-01-10 08:39:54 +00:00