src/thread.h
author belugas
Fri, 13 Apr 2007 17:15:06 +0000
changeset 6459 bd2721f73d2a
parent 6422 6679df1c05ba
child 7318 632cd0497770
permissions -rw-r--r--
(svn r9619) -Documentation: Comments on drawing arrays of houses and industries
/* $Id$ */

/** @file thread.h */

#ifndef THREAD_H
#define THREAD_H

struct OTTDThread;

typedef void* (*OTTDThreadFunc)(void*);

OTTDThread* OTTDCreateThread(OTTDThreadFunc, void*);
void*       OTTDJoinThread(OTTDThread*);
void        OTTDExitThread();

#endif /* THREAD_H */