thread.h
author celestar
Sat, 30 Dec 2006 17:09:30 +0000
branchcustombridgeheads
changeset 5606 a8e391b7b10a
parent 4300 687a17c9c557
permissions -rw-r--r--
(svn r7651) [cbh] - Fix: Allow trains to enter bridge head tiles from "the side"
/* $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 */