src/thread.h
author rubidium
Thu, 10 Apr 2008 22:17:06 +0000
changeset 10124 a6b11d4d67b3
parent 7814 fe643468ad64
child 10175 1119f6640ee6
permissions -rw-r--r--
(svn r12655) -Change: show the current state in the drop down 'buttons'.
/* $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 */