Files @ r6811:1bece01dbf0a
Branch filter:

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

rubidium
(svn r10050) -Codechange: make it a little easier to force a version number (for releases).
/* $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 */