summaryrefslogtreecommitdiff
path: root/src/thread.h
blob: 1e602bf4ce9b0134d7e60c145459694e3a57464f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* $Id$ */

#ifndef THREAD_H
#define THREAD_H

struct OTTDThread;

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

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

#endif /* THREAD_H */