src/thread.h
author peter1138
Mon, 07 Jan 2008 22:38:30 +0000
changeset 8218 e6c5291965d4
parent 7318 632cd0497770
child 8934 f46812d21fe6
permissions -rw-r--r--
(svn r11781) -Codechange: variable scope and initialization
/* $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 */