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

#ifndef THREAD_H
#define THREAD_H

typedef struct OTTDThread OTTDThread;

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

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

#endif /* THREAD_H */