src/thread.h
author maedhros
Sun, 08 Jul 2007 18:41:34 +0000
changeset 7203 39f68ddb39cc
parent 6422 6679df1c05ba
child 7318 632cd0497770
permissions -rw-r--r--
(svn r10481) -Codechange: Show a news message with the new industry when primary industry prospecting succeeds.
/* $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 */