thread.h
author bjarni
Mon, 28 Aug 2006 06:18:35 +0000
changeset 4427 cacdecf56fdf
parent 4300 687a17c9c557
permissions -rw-r--r--
(svn r6182) -Code cleanup: replaced one (1 << 8) with SHARE_FLAG (missed in r6167)
/* $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 */