thread.h
author tron
Sat, 04 Mar 2006 13:52:52 +0000
changeset 3142 00b67636048f
parent 2380 3b26659b4a9a
child 4298 3417f80deca1
permissions -rw-r--r--
(svn r3760) Replace some magic numbers for checking for a suitable slope for a level crossing by some less magic numbers. Quite similar to r3699, though this time for placing the rails
/* $Id$ */

#ifndef THREAD_H
#define THREAD_H

typedef struct Thread Thread;

typedef void* (*ThreadFunc)(void*);

Thread* OTTDCreateThread(ThreadFunc, void*);
void*   OTTDJoinThread(Thread*);

#endif /* THREAD_H */