tron@2285: /* $Id$ */ tron@2285: belugas@6918: /** @file thread.h */ belugas@6918: tron@2285: #ifndef THREAD_H tron@2285: #define THREAD_H tron@2285: rubidium@6574: struct OTTDThread; tron@2285: rubidium@7814: typedef void * (*OTTDThreadFunc)(void*); tron@2285: rubidium@7814: OTTDThread *OTTDCreateThread(OTTDThreadFunc, void*); rubidium@7814: void *OTTDJoinThread(OTTDThread*); rubidium@6573: void OTTDExitThread(); tron@2285: Darkvater@2380: #endif /* THREAD_H */