thread.h
author truelight
Sat, 19 Aug 2006 09:23:48 +0000
changeset 4298 3417f80deca1
parent 2380 3b26659b4a9a
child 4300 687a17c9c557
permissions -rw-r--r--
(svn r5943) -Merge TGP (part r5725): -Codechange: renamed Thread to OTTDThread, as Windows
(who else) uses Thread in winbase.h, and starts complaining if you define it
otherwise (with weird, undefined errors) (tnx Arnau and Rubidium)
/* $Id$ */

#ifndef THREAD_H
#define THREAD_H

typedef struct OTTDThread OTTDThread;

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

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

#endif /* THREAD_H */