OpenTTD-patches/thread.h

14 lines
240 B
C
Raw Normal View History

/* $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 */