src/thread.h
branchgamebalance
changeset 9895 7bd07f43b0e3
parent 5726 8f399788f6c9
child 6307 f40e88cff863
equal deleted inserted replaced
9894:70d78ac95d6c 9895:7bd07f43b0e3
     1 /* $Id$ */
     1 /* $Id$ */
     2 
     2 
     3 #ifndef THREAD_H
     3 #ifndef THREAD_H
     4 #define THREAD_H
     4 #define THREAD_H
     5 
     5 
     6 typedef struct OTTDThread OTTDThread;
     6 struct OTTDThread;
     7 
     7 
     8 typedef void* (*OTTDThreadFunc)(void*);
     8 typedef void* (*OTTDThreadFunc)(void*);
     9 
     9 
    10 OTTDThread* OTTDCreateThread(OTTDThreadFunc, void*);
    10 OTTDThread* OTTDCreateThread(OTTDThreadFunc, void*);
    11 void*       OTTDJoinThread(OTTDThread*);
    11 void*       OTTDJoinThread(OTTDThread*);
    12 void        OTTDExitThread(void);
    12 void        OTTDExitThread();
    13 
    13 
    14 #endif /* THREAD_H */
    14 #endif /* THREAD_H */