thread.h
author KUDr
Fri, 29 Dec 2006 17:51:16 +0000
changeset 5417 a0224e6cedd1
parent 4300 c7e43c47a2b9
permissions -rw-r--r--
(svn r7620) -Fix: [OPF] signal update was incorrectly propagated:
- through incompatible rail types
- from under bridge track to the bridge ramp (peter1138)
- same for tunnels (from track on top of tunnel entry to the tunnel)
/* $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 */