thread.h
author tron
Wed, 28 Jun 2006 05:47:55 +0000
changeset 4079 30cac8061fa2
parent 2380 3b26659b4a9a
child 4298 3417f80deca1
permissions -rw-r--r--
(svn r5394) Allocate a small, fixed-size array on the stack instead of malloc()ing it
/* $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 */