Files @ r6236:3a449301e326
Branch filter:

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

bjarni
(svn r9039) -Fix r9034: missed the _pause in cocoa_v.mm
/* $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 */