src/thread.h
author rubidium
Wed, 09 Apr 2008 16:16:04 +0000
changeset 8871 2fbfd7ec3a5d
parent 7318 632cd0497770
child 8934 f46812d21fe6
permissions -rw-r--r--
(svn r12638) -Codechange: give order_gui.cpp a touch of coding style.
/* $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 */