thread.h
author Darkvater
Sat, 14 Oct 2006 15:44:28 +0000
changeset 4847 84e4a64db23c
parent 4300 c7e43c47a2b9
permissions -rw-r--r--
(svn r6773) -eh...I had to test it didn't i, just forgot to save
/* $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 */