projects
/
framework
/
web
/
wrt-commons.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update wrt-commons_0.2.53
[framework/web/wrt-commons.git]
/
modules
/
core
/
include
/
dpl
/
semaphore.h
diff --git
a/modules/core/include/dpl/semaphore.h
b/modules/core/include/dpl/semaphore.h
index
420d9a5
..
8d51071
100644
(file)
--- 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();
sem_t *InternalGet() const;
void InternalDestroy();
+public:
+ /**
+ * decrement the semaphore counter
+ */
void Lock() const;
void Lock() const;
- void Unlock() const;
-public:
/**
/**
+ * increment the semaphore counter
+ */
+ void Unlock() const;
+
+ /**
* Remove a named semaphore
*
* @param fileName Name of the semaphore
* Remove a named semaphore
*
* @param fileName Name of the semaphore