Files @ r6023:c78cfe30dfd3
Branch filter:

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

bjarni
(svn r8746) -Regression r8331: build train window could sort incorrectly by EngineID with certain newGRF sets
/* $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 */