view src/thread.h @ 5996:ce1790a98063 draft

(svn r8707) -Codechange: Turn IsValidStation into a method of Station
author celestar <celestar@openttd.org>
date Tue, 13 Feb 2007 15:42:52 +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 */