From b95042b05cf7a8117309edc158df252f6f4adacb Mon Sep 17 00:00:00 2001 From: truebrain Date: Sun, 8 Jun 2008 12:06:27 +0000 Subject: (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) --- src/thread_none.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/thread_none.cpp') diff --git a/src/thread_none.cpp b/src/thread_none.cpp index 6209e89a7..76f113584 100644 --- a/src/thread_none.cpp +++ b/src/thread_none.cpp @@ -6,7 +6,7 @@ #include "thread.h" #include "fiber.hpp" -/* static */ ThreadObject *ThreadObject::New(OTTDThreadFunc proc, void *param) +/* static */ ThreadObject *ThreadObject::New(OTTDThreadFunc proc, void *param, OTTDThreadTerminateFunc terminate_func) { return NULL; } -- cgit v1.2.3-70-g09d2