equal
deleted
inserted
replaced
1 /* $Id$ */ |
1 /* $Id$ */ |
2 |
2 |
3 #ifndef THREAD_H |
3 #ifndef THREAD_H |
4 #define THREAD_H |
4 #define THREAD_H |
5 |
5 |
6 typedef struct OTTDThread OTTDThread; |
6 struct OTTDThread; |
7 |
7 |
8 typedef void* (*OTTDThreadFunc)(void*); |
8 typedef void* (*OTTDThreadFunc)(void*); |
9 |
9 |
10 OTTDThread* OTTDCreateThread(OTTDThreadFunc, void*); |
10 OTTDThread* OTTDCreateThread(OTTDThreadFunc, void*); |
11 void* OTTDJoinThread(OTTDThread*); |
11 void* OTTDJoinThread(OTTDThread*); |
12 void OTTDExitThread(void); |
12 void OTTDExitThread(); |
13 |
13 |
14 #endif /* THREAD_H */ |
14 #endif /* THREAD_H */ |