dfhack/library
Pauli 1acb60daa2 Prevent data races during console/init thread shutdown
There is a minor chance that console or init thread would access already
freed memory when core is shutting down and cleaning up state. To avoid
any danger of having random bugs caused by the potential data race I
decided to make sure the shutdown code waits for the thread to exit
first.

Windows change is completely untested. It is purely based on msdn
documentation.
2018-06-22 17:57:37 +03:00
..
DataStaticsFields Split DataStaticsFields into multiple compilation units 2016-03-22 17:34:25 -04:00
include Prevent data races during console/init thread shutdown 2018-06-22 17:57:37 +03:00
lua Merge remote-tracking branch 'grubsteak/patch-2' into develop 2018-06-08 22:05:20 -04:00
modules Merge remote-tracking branch 'suokko/check_jobs_on_mapcache_commit_1229' into develop 2018-06-21 15:03:51 -04:00
proto Improve protobuf file regeneration (no longer uses a dummy status.txt file) 2016-10-24 22:51:27 -04:00
xml@321bd48b10 Rename unit_flags1.dead to killed, update submodules/changelog 2018-06-21 11:17:09 -04:00
CMakeLists.txt Add cmake configuration to select if stubs include symbols 2018-06-19 16:16:38 +03:00
ColorText.cpp Fix crash in vprinterr due to va_list misuse 2016-07-03 23:33:07 -04:00
Console-posix.cpp Prevent data races during console/init thread shutdown 2018-06-22 17:57:37 +03:00
Console-windows.cpp Prevent data races during console/init thread shutdown 2018-06-22 17:57:37 +03:00
Core.cpp Prevent data races during console/init thread shutdown 2018-06-22 17:57:37 +03:00
DFHackVersion.cpp Add ABI version symbol to plugins 2018-03-10 16:55:00 -05:00
DataDefs.cpp Set last_item_value properly for complex enums 2018-04-09 16:11:47 -04:00
DataStatics.cpp Add support for primitive type fields in lua wrapper. 2012-03-20 13:56:29 +04:00
DataStaticsCtor.cpp Header changes/cleanup. 2011-12-31 12:48:42 +01:00
DataStaticsFields.cpp Lua API: add get_vector() and support for renaming class methods 2017-12-23 20:18:55 -05:00
Error.cpp Add function names to NullPointer and InvalidArgument exceptions 2018-05-11 09:49:27 -04:00
Hooks-darwin.cpp replacment -> replacement 2017-06-10 19:41:59 -04:00
Hooks-egg.cpp Fix bug #188, eggy hook 2013-04-24 17:50:34 +02:00
Hooks-linux.cpp headless: Disable sound, wgetch 2018-02-04 00:17:46 -05:00
Hooks-windows.cpp Add parameter type checks to printf style functions 2018-06-11 19:27:35 +03:00
LuaApi.cpp dead & killed flag separation 2018-06-13 15:37:45 -04:00
LuaTools.cpp Fix some warnings with GCC -Wall 2016-10-15 00:37:18 -04:00
LuaTypes.cpp Refactor DFHack exception classes 2018-02-05 19:18:35 -05:00
LuaWrapper.cpp Fix printf format warnings 2018-06-11 19:57:06 +03:00
MiscUtils.cpp Check if second vsnprintf does something unexpected 2018-06-13 23:33:13 +03:00
PlugLoad-posix.cpp Remove AS prefixes from add-spatter.cpp 2015-02-19 12:05:32 -05:00
PlugLoad-windows.cpp Update license, add contributors file, bump release number 2012-09-30 04:03:37 +02:00
PluginManager.cpp Convert Core.cpp to use c++11 thread 2018-06-22 17:57:37 +03:00
Process-darwin.cpp Fix some warnings on OS X 2018-05-12 18:46:58 -04:00
Process-linux.cpp Remove or comment out unused code. 2018-04-05 16:48:11 -05:00
Process-windows.cpp Fix RTTI in Win64 - offsets are relative to the current module (e.g. the DLL), so it needs to be looked up explicitly 2017-01-21 15:16:06 -06:00
RemoteClient.cpp Update clsocket and Open()/Listen() usage 2016-06-14 13:21:51 -04:00
RemoteServer.cpp Do some checks before trying to read json files. 2018-02-13 20:02:42 +05:30
RemoteTools.cpp Adapted to changed Units functions 2018-06-14 10:30:35 -04:00
TileTypes.cpp Implement a MapCache api for writing base layer tiles of arbitrary stone. 2013-10-10 12:15:50 +04:00
Types.cpp Add Filesystem::listdir() 2015-01-28 19:15:58 -05:00
VTableInterpose.cpp Fix follow_jmp for 64-bit code - skip REX prefix if found 2016-09-25 18:29:57 -05:00
VersionInfoFactory.cpp Correct bad os-type attributes in symbols.xml 2018-01-14 22:56:35 -05:00
binpatch.cpp Fix the error message produced by binpatch when a mismatch is detected. 2012-10-27 15:35:11 +04:00
dfhack-run.cpp Support calling a lua function via a protobuf request. 2014-02-10 20:09:06 +04:00
git-describe.cmake Make git-describe.cmake detect changes to itself 2018-03-10 16:55:20 -05:00