Files @ r10781:758b3ae29fdd
Branch filter:

Location: cpp/openttd-patchpack/source/src/thread_none.cpp

peter1138
(svn r15114) -Codechange: Add support for 8 byte action7/9 data, used as a mask for GRFID checks.
/* $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;
}