summaryrefslogtreecommitdiff
path: root/src/thread_os2.cpp
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2008-06-08 12:06:27 +0000
committertruebrain <truebrain@openttd.org>2008-06-08 12:06:27 +0000
commite767b4f7784ba8e0f52cb920a4b171ef9b61e67f (patch)
tree824116881f6d5514cdaa069f10eddac84da3b04a /src/thread_os2.cpp
parent4657ae97fcd9487adb882f8634ad5cfe589d034c (diff)
downloadopenttd-e767b4f7784ba8e0f52cb920a4b171ef9b61e67f.tar.xz
(svn r13412) -Add: OTTDThreadTerminateFunc, for all thread systems, which is called when a thread is terminated. Now GenWorld- and SaveLoad-thread cleanup theirselves correctly, while Fibers don't (as that causes access-violations)
Diffstat (limited to 'src/thread_os2.cpp')
-rw-r--r--src/thread_os2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread_os2.cpp b/src/thread_os2.cpp
index 29b33557f..1f5121a7a 100644
--- a/src/thread_os2.cpp
+++ b/src/thread_os2.cpp
@@ -59,7 +59,7 @@ void OTTDExitThread()
#endif
-/* static */ ThreadObject *ThreadObject::New(OTTDThreadFunc proc, void *param)
+/* static */ ThreadObject *ThreadObject::New(OTTDThreadFunc proc, void *param, OTTDThreadTerminateFunc terminate_func)
{
return NULL;
}