src/thread.h
author rubidium
Wed, 03 Jan 2007 08:49:36 +0000
branchcustombridgeheads
changeset 5643 3778051e8095
parent 4300 thread.h@687a17c9c557
child 6298 c30fe89622df
child 6573 7624f942237f
permissions -rw-r--r--
(svn r7790) [cbh] -Sync: execute the same script for /branches/custombridgeheads as was done for /trunk in r7759.
/* $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 */