thread.h
author rubidium
Mon, 04 Dec 2006 10:55:53 +0000
changeset 5230 660ae3a1ec4c
parent 4300 687a17c9c557
permissions -rw-r--r--
(svn r7350) -Fix: do not handle the save game/scenario filename edit box when loading a game/scenario/heightmap.
/* $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 */