src/thread.h
author KUDr
Wed, 03 Jan 2007 20:00:29 +0000
branchcustombridgeheads
changeset 5647 cbde85c8c878
parent 5643 3778051e8095
child 6298 c30fe89622df
child 6573 7624f942237f
permissions -rw-r--r--
(svn r7804) [cbh] - Fix: [NTP] suppress false 'Train is lost' message if destination tile was found
/* $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 */