X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=modules%2Fcore%2Finclude%2Fdpl%2Fsemaphore.h;h=8d510712c7d6de533ebdc6d5051639dab6397301;hb=refs%2Ftags%2Fsubmit%2Ftizen_2.0%2F20130215.191923;hp=420d9a57e33a6eb04649ed0c4c7ecc97b94aa81e;hpb=45bf3bfbb061b87511ece6f50b1aa6c803844a65;p=framework%2Fweb%2Fwrt-commons.git diff --git a/modules/core/include/dpl/semaphore.h b/modules/core/include/dpl/semaphore.h index 420d9a5..8d51071 100644 --- a/modules/core/include/dpl/semaphore.h +++ b/modules/core/include/dpl/semaphore.h @@ -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