src/thread.h
author smatz
Sat, 15 Dec 2007 13:59:38 +0000
changeset 8075 acd9b1120d9d
parent 7318 632cd0497770
child 8934 f46812d21fe6
permissions -rw-r--r--
(svn r11636) -Fix: it was possible to build/remove road/tram in tunnel/bridge when there was vehicle in it
/* $Id$ */

/** @file thread.h */

#ifndef THREAD_H
#define THREAD_H

struct OTTDThread;

typedef void * (*OTTDThreadFunc)(void*);

OTTDThread *OTTDCreateThread(OTTDThreadFunc, void*);
void       *OTTDJoinThread(OTTDThread*);
void        OTTDExitThread();

#endif /* THREAD_H */