Files @ r5083:08e51c69944a
Branch filter:

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

KUDr
(svn r7147) -CodeChange: Don't use references if they can refer to NULL (Tron)
/* $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 */