src/thread.h
author KUDr
Sat, 13 Jan 2007 16:23:24 +0000
changeset 5645 ee435eb9a180
parent 5475 2e6990a8c7c4
child 6247 7d81e3a5d803
permissions -rw-r--r--
(svn r8104) -Fix: missing helpers.hpp added into source.list and VC
/* $Id$ */

#ifndef THREAD_H
#define THREAD_H

typedef struct OTTDThread OTTDThread;

typedef void* (*OTTDThreadFunc)(void*);

OTTDThread* OTTDCreateThread(OTTDThreadFunc, void*);
void*       OTTDJoinThread(OTTDThread*);
void        OTTDExitThread(void);

#endif /* THREAD_H */