thread.h
author celestar
Mon, 03 Apr 2006 15:18:12 +0000
changeset 3434 0ada2e311826
parent 2380 392bba57462d
child 4298 b926a6eaaa70
permissions -rw-r--r--
(svn r4263) -Codechange: Road building no longer uses FindLandscapeHeight. Last occurence of FindLandscapeTile in the tile-specific functions gone. Thanks to Tron for doing lots of work in this direction
/* $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 */