thread.h
author peter1138
Sat, 21 Oct 2006 19:32:46 +0000
changeset 4904 ed65b5e93fbd
parent 4300 687a17c9c557
permissions -rw-r--r--
(svn r6874) - [NewStations] Mark all tiles of a railway station dirty when adding or removing tiles.
/* $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 */