Files @ r5861:fb8b458daaef
Branch filter:

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

rubidium
(svn r8437) -Codechange: move often duplicated (in MSU) define to the udp header.
/* $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 */