view src/thread.h @ 6500:ad8ea1f30c99 draft

(svn r9683) -Fix [FS#423]: improved loading does not use a huge amount of processing power anymore when having a lot of trains.
author rubidium <rubidium@openttd.org>
date Fri, 20 Apr 2007 08:00:30 +0000
parents fb10eafe2a26
children 5305f52bed67
line wrap: on
line source

/* $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 */