src/thread.h
author belugas
Wed, 09 Apr 2008 02:16:04 +0000
changeset 8868 0519384f7ac0
parent 7318 632cd0497770
child 8934 f46812d21fe6
permissions -rw-r--r--
(svn r12635) -Codechange: a bit of a code-style cleanup
/* $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 */