thread.h
author peter1138
Wed, 22 Nov 2006 08:49:40 +0000
changeset 5144 ecc19fe2c581
parent 4300 c7e43c47a2b9
permissions -rw-r--r--
(svn r7236) -Codechange: remove unused global array _newgrf_files
/* $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 */