src/thread.h
author maedhros
Fri, 01 Jun 2007 11:17:30 +0000
changeset 6771 b58be16fb268
parent 6422 6679df1c05ba
child 7318 632cd0497770
permissions -rw-r--r--
(svn r10007) -Codechange: Add some asserts to IsFrontEngine and friends to ensure that only trains use them.
/* $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 */