00001 /* $Id: thread.h 10673 2007-07-24 17:01:23Z rubidium $ */ 00002 00005 #ifndef THREAD_H 00006 #define THREAD_H 00007 00008 struct OTTDThread; 00009 00010 typedef void * (*OTTDThreadFunc)(void*); 00011 00012 OTTDThread *OTTDCreateThread(OTTDThreadFunc, void*); 00013 void *OTTDJoinThread(OTTDThread*); 00014 void OTTDExitThread(); 00015 00016 #endif /* THREAD_H */