File diff r8933:d98e0783fa25 → r8934:d5858392238b
src/thread_none.cpp
Show inline comments
 
new file 100644
 
/* $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;
 
}