thread.h
author peter1138
Wed, 27 Sep 2006 18:46:59 +0000
changeset 4657 dfbc1d1e6fd0
parent 4300 c7e43c47a2b9
permissions -rw-r--r--
(svn r6533) - Fix (r6532): Somebody forgot to add newsounds to the ttdpatch flags...
/* $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 */