src/thread.h
author belugas
Wed, 23 Jan 2008 17:40:37 +0000
changeset 8393 a0ab817a8b73
parent 7318 632cd0497770
child 8934 f46812d21fe6
permissions -rw-r--r--
(svn r11963) -Fix(r11961): Forgot to specify the meaning of the magical 6 substraction
/* $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 */