summaryrefslogtreecommitdiff
path: root/src/thread.h
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2009-01-12 14:31:49 +0000
committertruebrain <truebrain@openttd.org>2009-01-12 14:31:49 +0000
commit546d1b7580c729e8f87d8c1c2bd0e6ab5991948a (patch)
treeb155afce59b1ef1135c72989b46338bff871a0bd /src/thread.h
parent537a8b8342574f657e25398f6c11dd6ee06f31fd (diff)
downloadopenttd-546d1b7580c729e8f87d8c1c2bd0e6ab5991948a.tar.xz
(svn r15006) -Codechange: throw a real instance of a class, instead of '0' (which can also be a throw from within a thread for what ever reason)
Diffstat (limited to 'src/thread.h')
-rw-r--r--src/thread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/thread.h b/src/thread.h
index f6f29a711..8d0a8ee84 100644
--- a/src/thread.h
+++ b/src/thread.h
@@ -7,6 +7,8 @@
typedef void (*OTTDThreadFunc)(void *);
+class OTTDThreadExitSignal { };
+
/**
* A Thread Object which works on all our supported OSes.
*/