From bb770717494ec94d54edb4c1dd1f5a7a0c830ead Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 20 Jan 2009 03:12:46 +0000 Subject: (svn r15158) -Cleanup: remove some unused/unneeded cruft from the thread generalisation. --- src/thread_none.cpp | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) (limited to 'src/thread_none.cpp') diff --git a/src/thread_none.cpp b/src/thread_none.cpp index a5599dff1..34f8ca1ff 100644 --- a/src/thread_none.cpp +++ b/src/thread_none.cpp @@ -5,22 +5,8 @@ #include "stdafx.h" #include "thread.h" -/* static */ ThreadObject *ThreadObject::New(OTTDThreadFunc proc, void *param) +/* static */ bool ThreadObject::New(OTTDThreadFunc proc, void *param, ThreadObject **thread) { - return NULL; -} - -/* static */ ThreadObject *ThreadObject::AttachCurrent() -{ - return NULL; -} - -/* static */ uint ThreadObject::CurrentId() -{ - return -1; -} - -/* static */ ThreadSemaphore *ThreadSemaphore::New() -{ - return NULL; + if (thread != NULL) *thread = NULL; + return false; } -- cgit v1.2.3-54-g00ecf