activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r886215 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/Semaphore.cpp
Date Wed, 02 Dec 2009 17:37:11 GMT
Author: tabish
Date: Wed Dec  2 17:37:11 2009
New Revision: 886215

URL: http://svn.apache.org/viewvc?rev=886215&view=rev
Log:
Commit some fixes found while building on Solaris.

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/Semaphore.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/Semaphore.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/Semaphore.cpp?rev=886215&r1=886214&r2=886215&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/Semaphore.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/Semaphore.cpp
Wed Dec  2 17:37:11 2009
@@ -78,7 +78,7 @@
 
 ////////////////////////////////////////////////////////////////////////////////
 bool Semaphore::tryAcquire() throw ( decaf::lang::exceptions::RuntimeException ) {
-
+    return false;
 }
 
 ////////////////////////////////////////////////////////////////////////////////
@@ -86,6 +86,7 @@
     throw( decaf::lang::exceptions::InterruptedException,
            decaf::lang::exceptions::RuntimeException ) {
 
+    return false;
 }
 
 ////////////////////////////////////////////////////////////////////////////////
@@ -112,6 +113,7 @@
     throw( decaf::lang::exceptions::IllegalArgumentException,
            decaf::lang::exceptions::RuntimeException ) {
 
+    return false;
 }
 
 ////////////////////////////////////////////////////////////////////////////////
@@ -119,6 +121,7 @@
     throw( decaf::lang::exceptions::IllegalArgumentException,
            decaf::lang::exceptions::RuntimeException ) {
 
+    return false;
 }
 
 ////////////////////////////////////////////////////////////////////////////////
@@ -130,20 +133,20 @@
 
 ////////////////////////////////////////////////////////////////////////////////
 int Semaphore::availablePermits() const {
-
+    return 0;
 }
 
 ////////////////////////////////////////////////////////////////////////////////
 int Semaphore::drainPermits() throw( decaf::lang::exceptions::RuntimeException ) {
-
+    return 0;
 }
 
 ////////////////////////////////////////////////////////////////////////////////
 bool Semaphore::isFair() const {
-
+    return false;
 }
 
 ////////////////////////////////////////////////////////////////////////////////
 std::string Semaphore::toString() const {
-
+    return "";
 }



Mime
View raw message