Files @ r8113:7815c26d7612
Branch filter:

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

rubidium
(svn r11674) -Codechange: refactor some functions out of macros.h into more logical locations.
/* $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 */