Files @ r5441:5f6cfce5d8ca
Branch filter:

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

Darkvater
(svn r7692) -Fix: OpenTTD didn't compile without network enabled (newgrf sync code)
/* $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 */