changeset 5726 | 8f399788f6c9 |
parent 4300 | 687a17c9c557 |
child 6298 | c30fe89622df |
child 6573 | 7624f942237f |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/thread.h Tue Jan 02 19:19:48 2007 +0000 @@ -0,0 +1,14 @@ +/* $Id$ */ + +#ifndef THREAD_H +#define THREAD_H + +typedef struct OTTDThread OTTDThread; + +typedef void* (*OTTDThreadFunc)(void*); + +OTTDThread* OTTDCreateThread(OTTDThreadFunc, void*); +void* OTTDJoinThread(OTTDThread*); +void OTTDExitThread(void); + +#endif /* THREAD_H */