thread.h
author Darkvater
Thu, 21 Dec 2006 11:34:50 +0000
changeset 5354 a48fc9a710f5
parent 4300 c7e43c47a2b9
permissions -rw-r--r--
(svn r7525) -Fix (r6631): Invalidate the widget of 'many random industries' when it is raised (Maedhros)
/* $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 */