src/thread.h
author celestar
Fri, 23 Feb 2007 08:37:33 +0000
changeset 6121 2aae24b0881f
parent 5475 2e6990a8c7c4
child 6247 7d81e3a5d803
permissions -rw-r--r--
(svn r8857) -Documentation: Added some doxygen @file tags, repaired others (the @file tag MUST be found before any line of code, that includes preprocessor directives).
/* $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 */