mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
27 lines
436 B
C++
27 lines
436 B
C++
/* $Id$ */
|
|
|
|
/** @file thread_none.cpp No-Threads-Available implementation of Threads */
|
|
|
|
#include "stdafx.h"
|
|
#include "thread.h"
|
|
|
|
/* static */ ThreadObject *ThreadObject::New(OTTDThreadFunc proc, void *param)
|
|
{
|
|
return NULL;
|
|
}
|
|
|
|
/* static */ ThreadObject *ThreadObject::AttachCurrent()
|
|
{
|
|
return NULL;
|
|
}
|
|
|
|
/* static */ uint ThreadObject::CurrentId()
|
|
{
|
|
return -1;
|
|
}
|
|
|
|
/* static */ ThreadSemaphore *ThreadSemaphore::New()
|
|
{
|
|
return NULL;
|
|
}
|