src/thread.h
author rubidium
Thu, 01 Mar 2007 23:37:05 +0000
changeset 6512 8625c30bd63d
parent 5726 8f399788f6c9
child 6298 c30fe89622df
child 6573 7624f942237f
permissions -rw-r--r--
(svn r8964) -Codechange: use grf_load_string to read action 8 strings instead of trying to do the same 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 */