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

/** @file thread.h */

#ifndef THREAD_H
#define THREAD_H

struct OTTDThread;

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

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

#endif /* THREAD_H */