diff options
author | rubidium <rubidium@openttd.org> | 2009-01-20 03:12:46 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-01-20 03:12:46 +0000 |
commit | bb770717494ec94d54edb4c1dd1f5a7a0c830ead (patch) | |
tree | f26af7908c8ee5a9d45520a8f2d6aff9f6bfdec6 /src/thread_none.cpp | |
parent | 5f3772a42c322a99d2ea57b6c97b76fceccbb781 (diff) | |
download | openttd-bb770717494ec94d54edb4c1dd1f5a7a0c830ead.tar.xz |
(svn r15158) -Cleanup: remove some unused/unneeded cruft from the thread generalisation.
Diffstat (limited to 'src/thread_none.cpp')
-rw-r--r-- | src/thread_none.cpp | 20 |
1 files changed, 3 insertions, 17 deletions
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; } |