src/thread.h
author rubidium
Fri, 11 Apr 2008 08:14:43 +0000
changeset 8890 8a0fa7ff70a0
parent 7318 632cd0497770
child 8934 f46812d21fe6
permissions -rw-r--r--
(svn r12657) -Codechange: add 'FindClosestDepot' to the vehicle class.
/* $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 */