src/thread.h
author peter1138
Tue, 12 Feb 2008 20:14:14 +0000
changeset 9043 dfcde0d0dc0a
parent 7814 fe643468ad64
child 10175 1119f6640ee6
permissions -rw-r--r--
(svn r12125) -Codechange: Remove redundant signal lookup table, and document why normal electric signals are handled specially.
/* $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 */