src/thread.h
author rubidium
Wed, 11 Jul 2007 15:03:29 +0000
changeset 7229 a5f262f6df1b
parent 6422 6679df1c05ba
child 7318 632cd0497770
permissions -rw-r--r--
(svn r10508) -Codechange: allow customizable animation schemes for 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 */