(svn r22405) -Document: some more "random-ish" tidbits

This commit is contained in:
rubidium
2011-05-01 19:14:12 +00:00
parent 7506f64236
commit 87272273b5
35 changed files with 173 additions and 58 deletions

View File

@@ -12,8 +12,10 @@
#ifndef THREAD_H
#define THREAD_H
/** Definition of all thread entry functions. */
typedef void (*OTTDThreadFunc)(void *);
/** Signal used for signalling we knowingly want to end the thread. */
class OTTDThreadExitSignal { };
/**
@@ -52,6 +54,9 @@ public:
*/
class ThreadMutex {
public:
/**
* Create a new mutex.
*/
static ThreadMutex *New();
/**