src/thread.h
author peter1138
Thu, 19 Jul 2007 17:28:55 +0000
changeset 7287 88e6b96765d6
parent 6422 6679df1c05ba
child 7318 632cd0497770
permissions -rw-r--r--
(svn r10628) -Fix (r10606,FS#1055): Revert r10606 and fix the plural problem another way.
/* $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 */