Files @ r5220:f1a0b5cb28f4
Branch filter:

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

peter1138
(svn r7335) -Codechange: redraw station tiles when cargo is moved, for newstations
/* $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 */