summaryrefslogtreecommitdiff
path: root/src/semaphore.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/semaphore.h')
-rw-r--r--src/semaphore.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/semaphore.h b/src/semaphore.h
index 7f8a6ff..7e39f5a 100644
--- a/src/semaphore.h
+++ b/src/semaphore.h
@@ -31,7 +31,7 @@ struct semaphore_private_t;
class Semaphore {
public:
- Semaphore();
+ Semaphore(const char *name = "");
~Semaphore();
void post();
@@ -39,6 +39,7 @@ public:
private:
struct semaphore_private_t *prv;
+ const char *name;
};
#endif/*__PRACRO_SEMAPHORE_H__*/