src/thread_none.cpp
author richk
Sun, 20 Apr 2008 17:30:24 +0000
branchNewGRF_ports
changeset 10275 5e46b660ca6c
parent 10211 c1391c8ed5c6
child 10861 7954a0043e05
permissions -rw-r--r--
(svn r12807) [NewGRF_ports] -Fix: New files failed to get added to svn on last merge.
/* $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;
}