thread.h
author KUDr
Tue, 14 Nov 2006 12:02:36 +0000
changeset 5082 d7719dfaa7e1
parent 4300 c7e43c47a2b9
permissions -rw-r--r--
(svn r7146) -CodeChange: ST_CONST macro removed as it is no longer needed (Tron)
/* $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 */