src/thread.h
author peter1138
Fri, 20 Apr 2007 17:26:10 +0000
changeset 7004 a841bf508c46
parent 6918 5589c415e28f
child 6743 cabfaa4a0295
permissions -rw-r--r--
(svn r9691) -Fix (r9683): Forgotten savegame bump...
/* $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 */