src/thread.h
author belugas
Thu, 31 May 2007 15:40:36 +0000
changeset 7261 a75c5668b75b
parent 6918 5589c415e28f
child 6743 cabfaa4a0295
permissions -rw-r--r--
(svn r10001) -Codechange: Add support for removing dynamically allocated newgrf data
/* $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 */