Files @ r3605:64ced9b50e2a
Branch filter:

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

peter1138
(svn r4497) - NewGRF minor fixes: (Rubidium)
- Remove a define in favour of using the lengthof() an array.
- Fix typos in language names enum.
- Add Brazilian ISO code.
/* $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 */