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