thread.h
author peter1138
Sun, 30 Apr 2006 18:19:37 +0000
changeset 3693 af2ee9b328e6
parent 2380 3b26659b4a9a
child 4298 3417f80deca1
permissions -rw-r--r--
(svn r4629) - NewGRF: constify more code that deals with sprite groups, now that ref counting is gone.
/* $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 */