src/thread.h
author bjarni
Tue, 23 Jan 2007 13:26:12 +0000
changeset 5809 f6bb84b5d6fc
parent 5475 2e6990a8c7c4
child 6247 7d81e3a5d803
permissions -rw-r--r--
(svn r8371) -Codechange: [autoreplace GUI] moved the autoreplace GUI to a file of it's own
Note: it's the same as r8363, only this time the svn history of autoreplace should be preserved
/* $Id$ */

#ifndef THREAD_H
#define THREAD_H

typedef struct OTTDThread OTTDThread;

typedef void* (*OTTDThreadFunc)(void*);

OTTDThread* OTTDCreateThread(OTTDThreadFunc, void*);
void*       OTTDJoinThread(OTTDThread*);
void        OTTDExitThread(void);

#endif /* THREAD_H */