Files @ r7168:156fd244b919
Branch filter:

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

rubidium
(svn r10442) -Codechange: implement the industry production callback.
/* $Id$ */

/** @file thread.h */

#ifndef THREAD_H
#define THREAD_H

struct OTTDThread;

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

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

#endif /* THREAD_H */