Tizen 2.0 Release
[framework/web/wrt-commons.git] / modules / core / include / dpl / semaphore.h
index 420d9a5..8d51071 100644 (file)
@@ -81,11 +81,18 @@ private:
     sem_t *InternalGet() const;
     void InternalDestroy();
 
+public:
+    /**
+     * decrement the semaphore counter
+     */
     void Lock() const;
-    void Unlock() const;
 
-public:
     /**
+     * increment the semaphore counter
+     */
+    void Unlock() const;
+
+     /**
      * Remove a named semaphore
      *
      * @param fileName Name of the semaphore