Files @ r6722:b6eb38b08e9f
Branch filter:

Location: cpp/openttd-patchpack/source/src/thread.h

rubidium
(svn r9954) -Fix [FS#811]: trolley AI crashed when trying to determine what the roadbits are.
/* $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 */