view src/thread.h @ 6148:4b171c8e99ce draft

(svn r8891) -Codechange: Remove remains of global cargo scheme. All cargo mapping is now dealt with only in NewGRF code, on load where possible.
author peter1138 <peter1138@openttd.org>
date Sat, 24 Feb 2007 23:36:40 +0000
parents eabf4b86aed6
children 57363e064324
line wrap: on
line source

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