You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
278 B
C
15 lines
278 B
C
19 years ago
|
/* $Id$ */
|
||
|
|
||
|
#ifndef THREAD_H
|
||
|
#define THREAD_H
|
||
|
|
||
18 years ago
|
typedef struct OTTDThread OTTDThread;
|
||
19 years ago
|
|
||
18 years ago
|
typedef void* (*OTTDThreadFunc)(void*);
|
||
19 years ago
|
|
||
18 years ago
|
OTTDThread* OTTDCreateThread(OTTDThreadFunc, void*);
|
||
18 years ago
|
void* OTTDJoinThread(OTTDThread*);
|
||
|
void OTTDExitThread(void);
|
||
19 years ago
|
|
||
19 years ago
|
#endif /* THREAD_H */
|