Files @ r5397:7aa72d05cb9e
Branch filter:

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

bjarni
(svn r7587) -Change: [OSX] updated readme about compiling a universal binary as the flag name changed, but didn't change in the readme
/* $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 */