src/thread.h
author maedhros
Fri, 01 Jun 2007 12:26:14 +0000
changeset 7271 e99e02b7a495
parent 6918 5589c415e28f
child 6743 cabfaa4a0295
permissions -rw-r--r--
(svn r10011) -Fix (r10008): Set the right svn properties on articulated_vehicles.h and correct a file comment.
/* $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 */