src/thread.h
author rubidium
Wed, 08 Aug 2007 14:18:05 +0000
changeset 7426 e8dd555767bd
parent 7318 632cd0497770
child 8934 f46812d21fe6
permissions -rw-r--r--
(svn r10827) -Fix [FS#1112]: out of bounds access in corner case of list allocations of vehicles.
/* $Id$ */

/** @file thread.h */

#ifndef THREAD_H
#define THREAD_H

struct OTTDThread;

typedef void * (*OTTDThreadFunc)(void*);

OTTDThread *OTTDCreateThread(OTTDThreadFunc, void*);
void       *OTTDJoinThread(OTTDThread*);
void        OTTDExitThread();

#endif /* THREAD_H */