Files @ r4370:66ce7acfafc7
Branch filter:

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

truelight
(svn r6089) -Backport r6088: added -s (source) and -d (destination) to strgen (Darkvater)
/* $Id$ */

#ifndef THREAD_H
#define THREAD_H

typedef struct OTTDThread OTTDThread;

typedef void* (*OTTDThreadFunc)(void*);

OTTDThread* OTTDCreateThread(OTTDThreadFunc, void*);
void*       OTTDJoinThread(OTTDThread*);
void        OTTDExitThread(void);

#endif /* THREAD_H */