src/thread.h
author rubidium
Fri, 31 Aug 2007 23:02:16 +0000
changeset 8009 9e1e8ff6ac95
parent 7814 fe643468ad64
child 10175 1119f6640ee6
permissions -rw-r--r--
(svn r11028) -Fix [FS#1177]: crash when having the Finance window opened of the player you are cheating to.
/* $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 */