src/thread.h
author peter1138
Sun, 17 Jun 2007 10:47:30 +0000
changeset 6924 f2ac2b1f5d06
parent 6422 6679df1c05ba
child 7318 632cd0497770
permissions -rw-r--r--
(svn r10177) -Fix: Passengers has one A and two Es (ln)
/* $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 */