equal
deleted
inserted
replaced
|
1 /* $Id$ */ |
|
2 |
|
3 /** @file thread_none.cpp No-Threads-Available implementation of Threads */ |
|
4 |
|
5 #include "stdafx.h" |
|
6 #include "thread.h" |
|
7 #include "fiber.hpp" |
|
8 |
|
9 /* static */ ThreadObject *ThreadObject::New(OTTDThreadFunc proc, void *param) |
|
10 { |
|
11 return NULL; |
|
12 } |
|
13 |
|
14 /* static */ ThreadObject *ThreadObject::AttachCurrent() |
|
15 { |
|
16 return NULL; |
|
17 } |
|
18 |
|
19 /* static */ uint ThreadObject::CurrentId() |
|
20 { |
|
21 return -1; |
|
22 } |
|
23 |
|
24 /* static */ ThreadSemaphore *ThreadSemaphore::New() |
|
25 { |
|
26 return NULL; |
|
27 } |
|
28 |
|
29 /* static */ Fiber *Fiber::New(FiberFunc proc, void *param) |
|
30 { |
|
31 return NULL; |
|
32 } |
|
33 |
|
34 /* static */ Fiber *Fiber::AttachCurrent(void *param) |
|
35 { |
|
36 return NULL; |
|
37 } |
|
38 |
|
39 /* static */ void *Fiber::GetCurrentFiberData() |
|
40 { |
|
41 return NULL; |
|
42 } |