src/thread.h
branchcustombridgeheads
changeset 5643 3778051e8095
parent 4300 687a17c9c557
child 6298 c30fe89622df
child 6573 7624f942237f
equal deleted inserted replaced
5642:bfa6074e2833 5643:3778051e8095
       
     1 /* $Id$ */
       
     2 
       
     3 #ifndef THREAD_H
       
     4 #define THREAD_H
       
     5 
       
     6 typedef struct OTTDThread OTTDThread;
       
     7 
       
     8 typedef void* (*OTTDThreadFunc)(void*);
       
     9 
       
    10 OTTDThread* OTTDCreateThread(OTTDThreadFunc, void*);
       
    11 void*       OTTDJoinThread(OTTDThread*);
       
    12 void        OTTDExitThread(void);
       
    13 
       
    14 #endif /* THREAD_H */