summaryrefslogtreecommitdiff
path: root/src/thread/thread_pthread.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-05-01 19:14:12 +0000
committerrubidium <rubidium@openttd.org>2011-05-01 19:14:12 +0000
commit1a515e6344028854c855671c19f49d8f869eb18f (patch)
treee1bba97c1a8fd80f564729cc2d5fc2049110cb2a /src/thread/thread_pthread.cpp
parentb27dd1dcd7375dae63724879eb0f56dd703e5312 (diff)
downloadopenttd-1a515e6344028854c855671c19f49d8f869eb18f.tar.xz
(svn r22405) -Document: some more "random-ish" tidbits
Diffstat (limited to 'src/thread/thread_pthread.cpp')
-rw-r--r--src/thread/thread_pthread.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/thread/thread_pthread.cpp b/src/thread/thread_pthread.cpp
index ab46c0a0a..11cd3accd 100644
--- a/src/thread/thread_pthread.cpp
+++ b/src/thread/thread_pthread.cpp
@@ -95,9 +95,9 @@ private:
*/
class ThreadMutex_pthread : public ThreadMutex {
private:
- pthread_mutex_t mutex;
- pthread_cond_t condition;
- pthread_mutexattr_t attr;
+ pthread_mutex_t mutex; ///< The actual mutex.
+ pthread_cond_t condition; ///< Data for conditional waiting.
+ pthread_mutexattr_t attr; ///< Attributes set for the mutex.
public:
ThreadMutex_pthread()