Files @ r2660:95d4080edbe8
Branch filter:

Location: cpp/openttd-patchpack/source/thread.h

tron
(svn r3202) If cascade -> switch
/* $Id$ */

#ifndef THREAD_H
#define THREAD_H

typedef struct Thread Thread;

typedef void* (*ThreadFunc)(void*);

Thread* OTTDCreateThread(ThreadFunc, void*);
void*   OTTDJoinThread(Thread*);

#endif /* THREAD_H */