diff options
Diffstat (limited to 'src/thread_os2.cpp')
-rw-r--r-- | src/thread_os2.cpp | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/src/thread_os2.cpp b/src/thread_os2.cpp index 29b33557f..9d05f7e02 100644 --- a/src/thread_os2.cpp +++ b/src/thread_os2.cpp @@ -59,22 +59,8 @@ void OTTDExitThread() #endif -/* static */ ThreadObject *ThreadObject::New(OTTDThreadFunc proc, void *param) +/* static */ ThreadObject *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; } |