]> git.mxchange.org Git - simgear.git/blobdiff - simgear/threads/SGThread.hxx
HTTP repository implementation
[simgear.git] / simgear / threads / SGThread.hxx
index 7f3a651a800b195b493c86d676f68a11a1ab7f1b..d905c62443d293938935b89571cb18db73d901e3 100644 (file)
@@ -50,6 +50,11 @@ public:
      */
     void join();
 
+    /**
+     *Retreive the current thread id.
+     */
+    static long current( void );
+
 protected:
     /**
      * Destroy a thread object.
@@ -141,16 +146,16 @@ public:
     /**
      * Wait for this condition variable to be signaled.
      *
-     * @param SGMutex& reference to a locked mutex.
+     * @param mutex Reference to a locked mutex.
      */
-    void wait(SGMutex&);
+    void wait(SGMutex& mutex);
 
     /**
-     * Wait for this condition variable to be signaled for at most
-     * 'ms' milliseconds.
+     * Wait for this condition variable to be signaled for at most \a 'msec'
+     * milliseconds.
      *
-     * @param mutex reference to a locked mutex.
-     * @param ms milliseconds to wait for a signal.
+     * @param mutex Reference to a locked mutex.
+     * @param msec  Milliseconds to wait for a signal.
      *
      * @return
      */