summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2015-05-22 10:04:37 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2015-05-22 10:04:37 +0200
commitacf59a4f960b3e45db566675551b8158b47e1554 (patch)
treec270c7cc01e3ea47bdaa60f62553f75c32d4c412
parent30dde35f3fdd2b165f76f7bceeaef1f112020155 (diff)
Remove semaphore debug output.
-rw-r--r--src/semaphore.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/semaphore.cc b/src/semaphore.cc
index 47ce8e0..b478eb1 100644
--- a/src/semaphore.cc
+++ b/src/semaphore.cc
@@ -46,7 +46,7 @@ struct semaphore_private_t {
Semaphore::Semaphore(const char *name)
{
this->name = name;
- DEBUG(semaphore, "Create [%s]\n", name);
+ // DEBUG(semaphore, "Create [%s]\n", name);
prv = new struct semaphore_private_t();
@@ -62,7 +62,7 @@ Semaphore::Semaphore(const char *name)
Semaphore::~Semaphore()
{
- DEBUG(semaphore, "Delete [%s]\n", name);
+ // DEBUG(semaphore, "Delete [%s]\n", name);
#ifdef WIN32
CloseHandle(prv->semaphore);
@@ -75,7 +75,7 @@ Semaphore::~Semaphore()
void Semaphore::post()
{
- DEBUG(semaphore, "Post [%s]\n", name);
+ // DEBUG(semaphore, "Post [%s]\n", name);
#ifdef WIN32
ReleaseSemaphore(prv->semaphore, 1, NULL);
@@ -86,7 +86,7 @@ void Semaphore::post()
void Semaphore::wait()
{
- DEBUG(semaphore, "Wait [%s]\n", name);
+ // DEBUG(semaphore, "Wait [%s]\n", name);
#ifdef WIN32
WaitForSingleObject(prv->semaphore, INFINITE);