author | truebrain |
Tue, 01 Apr 2008 13:40:36 +0000 | |
branch | noai |
changeset 9857 | 7adb6a846add |
parent 9856 | src/thread.cpp@6a0dcee9f8e4 |
child 10171 | d4397d599d78 |
permissions | -rw-r--r-- |
2285
3193cbd1ba88
(svn r2809) Implement more generic threading functions, which allow more than one thread
tron
parents:
diff
changeset
|
1 |
/* $Id$ */ |
3193cbd1ba88
(svn r2809) Implement more generic threading functions, which allow more than one thread
tron
parents:
diff
changeset
|
2 |
|
9857
7adb6a846add
(svn r12529) [NoAI] -Change: split thread.cpp into 4 files, one for each OS
truebrain
parents:
9856
diff
changeset
|
3 |
/** @file thread_none.cpp No-Threads-Available implementation of Threads */ |
9574 | 4 |
|
2285
3193cbd1ba88
(svn r2809) Implement more generic threading functions, which allow more than one thread
tron
parents:
diff
changeset
|
5 |
#include "stdafx.h" |
3193cbd1ba88
(svn r2809) Implement more generic threading functions, which allow more than one thread
tron
parents:
diff
changeset
|
6 |
#include "thread.h" |
9514
e31710af1ca0
(svn r9419) [NoAI] -Codechange: support AI threads also on Win32 (using threads on Win95 and fibers on other Win32 platforms)
KUDr
parents:
6573
diff
changeset
|
7 |
|
9857
7adb6a846add
(svn r12529) [NoAI] -Change: split thread.cpp into 4 files, one for each OS
truebrain
parents:
9856
diff
changeset
|
8 |
OTTDThread *OTTDCreateThread(OTTDThreadFunc function, void *arg) { |
7adb6a846add
(svn r12529) [NoAI] -Change: split thread.cpp into 4 files, one for each OS
truebrain
parents:
9856
diff
changeset
|
9 |
return NULL; |
9514
e31710af1ca0
(svn r9419) [NoAI] -Codechange: support AI threads also on Win32 (using threads on Win95 and fibers on other Win32 platforms)
KUDr
parents:
6573
diff
changeset
|
10 |
} |
e31710af1ca0
(svn r9419) [NoAI] -Codechange: support AI threads also on Win32 (using threads on Win95 and fibers on other Win32 platforms)
KUDr
parents:
6573
diff
changeset
|
11 |
|
9857
7adb6a846add
(svn r12529) [NoAI] -Change: split thread.cpp into 4 files, one for each OS
truebrain
parents:
9856
diff
changeset
|
12 |
void *OTTDJoinThread(OTTDThread *t) { |
7adb6a846add
(svn r12529) [NoAI] -Change: split thread.cpp into 4 files, one for each OS
truebrain
parents:
9856
diff
changeset
|
13 |
return NULL; |
4300
687a17c9c557
(svn r5946) -Add: merged the TGP branch to mainline. TGP adds:
truelight
parents:
4298
diff
changeset
|
14 |
} |
9514
e31710af1ca0
(svn r9419) [NoAI] -Codechange: support AI threads also on Win32 (using threads on Win95 and fibers on other Win32 platforms)
KUDr
parents:
6573
diff
changeset
|
15 |
|
9857
7adb6a846add
(svn r12529) [NoAI] -Change: split thread.cpp into 4 files, one for each OS
truebrain
parents:
9856
diff
changeset
|
16 |
void OTTDExitThread() { |
7adb6a846add
(svn r12529) [NoAI] -Change: split thread.cpp into 4 files, one for each OS
truebrain
parents:
9856
diff
changeset
|
17 |
NOT_REACHED(); |
9514
e31710af1ca0
(svn r9419) [NoAI] -Codechange: support AI threads also on Win32 (using threads on Win95 and fibers on other Win32 platforms)
KUDr
parents:
6573
diff
changeset
|
18 |
} |