tron@2285: /* $Id$ */ tron@2285: tron@2285: #ifndef THREAD_H tron@2285: #define THREAD_H tron@2285: truelight@4298: typedef struct OTTDThread OTTDThread; tron@2285: truelight@4298: typedef void* (*OTTDThreadFunc)(void*); tron@2285: truelight@4298: OTTDThread* OTTDCreateThread(OTTDThreadFunc, void*); truelight@4300: void* OTTDJoinThread(OTTDThread*); truelight@4300: void OTTDExitThread(void); tron@2285: Darkvater@2380: #endif /* THREAD_H */