summaryrefslogtreecommitdiff
path: root/thread.h
blob: 900b87849746b86dd4ae84afc4e0f813bb47eff0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* $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 */