Files @ r3082:12642bff9b64
Branch filter:

Location: cpp/openttd-patchpack/source/thread.h

bjarni
(svn r3671) -Code cleanup: fixed style and removed commented out code in video/cocoa_v.m
/* $Id$ */

#ifndef THREAD_H
#define THREAD_H

typedef struct Thread Thread;

typedef void* (*ThreadFunc)(void*);

Thread* OTTDCreateThread(ThreadFunc, void*);
void*   OTTDJoinThread(Thread*);

#endif /* THREAD_H */