src/thread.h
author peter1138
Thu, 05 Jul 2007 12:23:54 +0000
changeset 7666 a5fccd76176a
parent 6918 5589c415e28f
child 6743 cabfaa4a0295
permissions -rw-r--r--
(svn r10444) -Codechange: switch to c++ classes and inheritance for sound/music/video drivers, using self-registration based on the blitter-model.
/* $Id$ */

/** @file thread.h */

#ifndef THREAD_H
#define THREAD_H

struct OTTDThread;

typedef void* (*OTTDThreadFunc)(void*);

OTTDThread* OTTDCreateThread(OTTDThreadFunc, void*);
void*       OTTDJoinThread(OTTDThread*);
void        OTTDExitThread();

#endif /* THREAD_H */