Files @ r5685:0193ec7a95c5
Branch filter:

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

celestar
(svn r8146) -Fix (FS#552, r8038): a C/C++ linkage problem on some very few incarnations of gcc
/* $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 */