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