Files @ r2793:d1e70008d1a4
Branch filter:

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

truelight
(svn r3341) -Codechange: make mingw32 happy, and renamed Rectangle, because it already exists on that platform
/* $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 */