thread.h
author bjarni
Fri, 24 Mar 2006 23:33:30 +0000
branch0.4
changeset 9963 2a389f0ebd7c
parent 9959 984493ab6fff
permissions -rw-r--r--
(svn r4097) -Backported 4084 properly (included the last line)
also added a header that is needed because we didn't backport the new feature, that includes the header in the trunk
/* $Id$ */

#ifndef THREAD_H
#define THREAD_H

typedef struct Thread Thread;

typedef void* (*ThreadFunc)(void*);

Thread* OTTDCreateThread(ThreadFunc, void*);
void*   OTTDJoinThread(Thread*);

#endif /* THREAD_H */