src/thread_none.cpp
author glx
Sat, 17 May 2008 20:49:45 +0000
changeset 10601 c843d0e06015
parent 10175 1119f6640ee6
child 10861 7954a0043e05
permissions -rw-r--r--
(svn r13145) -Codechange: make classes of the BuildDocks[Depot|Station]Window.
/* $Id$ */

/** @file thread_none.cpp No-Threads-Available implementation of Threads */

#include "stdafx.h"
#include "thread.h"
#include "fiber.hpp"

/* 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;
}

/* static */ Fiber *Fiber::New(FiberFunc proc, void *param)
{
	return NULL;
}

/* static */ Fiber *Fiber::AttachCurrent(void *param)
{
	return NULL;
}

/* static */ void *Fiber::GetCurrentFiberData()
{
	return NULL;
}