Mercurial > hg > openttd
view src/thread_none.cpp @ 9281:084086b60da8 draft
(svn r13147) -Codechange: move the code to draw bankruptcy news to news_gui.cpp.
author | rubidium <rubidium@openttd.org> |
---|---|
date | Sat, 17 May 2008 21:13:05 +0000 |
parents | a56c5ca0f396 |
children | e67ab3c32309 |
line wrap: on
line source
/* $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; }