thread.h
author KUDr
Mon, 01 Jan 2007 23:18:33 +0000
branchcustombridgeheads
changeset 5628 6975ccb4a7bd
parent 4300 687a17c9c557
permissions -rw-r--r--
(svn r7734) [cbh] - Fix: '!Disconnecting train' when leaving bridge in Y_SE direction. Train controller needs to know train's track, so it can't be zero.
/* $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 */