Files @ r8855:a884f435767d
Branch filter:

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

rubidium
(svn r12617) -Codechange: add type safety to the Order's load and unload types.
/* $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 */