thread.h
author KUDr
Tue, 02 Jan 2007 11:41:17 +0000
branchcustombridgeheads
changeset 5635 58d96074685e
parent 4300 687a17c9c557
permissions -rw-r--r--
(svn r7744) [cbh] - Fix: signal update didn't work when new tunnel built (peter1138)
/* $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 */