src/thread.h
author smatz
Sat, 15 Mar 2008 13:21:31 +0000
changeset 9191 ae14770c829a
parent 7814 fe643468ad64
child 10175 1119f6640ee6
permissions -rw-r--r--
(svn r12368) -Codechange: use explicit body for loops and conditions and remove -Wno-empty-body from the configure script
/* $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 */