src/thread.h
author rubidium
Thu, 01 Feb 2007 21:04:40 +0000
changeset 5897 893fe6a810dc
parent 5475 2e6990a8c7c4
child 6247 7d81e3a5d803
permissions -rw-r--r--
(svn r8520) -Fix/Feature: requery gameservers that did not respond to their first query.
/* $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 */