thread.h
author celestar
Sun, 31 Dec 2006 16:08:00 +0000
branchcustombridgeheads
changeset 5614 623bae81fbd2
parent 4300 687a17c9c557
permissions -rw-r--r--
(svn r7703) [cbh] - Fix: I "optimized" a little too much on previous commit and broke stuff
/* $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 */