Files @ r5826:84618d25ce1d
Branch filter:

Location: cpp/openttd-patchpack/source/src/thread.h

tron
(svn r8392) -Fix

Use HASBIT() instead of implementing it manually
/* $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 */