src/thread.h
author peter1138
Thu, 14 Feb 2008 11:58:36 +0000
changeset 9057 f9931abf5f55
parent 7814 fe643468ad64
child 10175 1119f6640ee6
permissions -rw-r--r--
(svn r12139) -Fix (r12124): The global variable value should be returned, not the variable.
/* $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 */