You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2010/07/07 17:33:09 UTC

svn commit: r961409 - /activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/Util/CountDownLatch.cs

Author: tabish
Date: Wed Jul  7 15:33:09 2010
New Revision: 961409

URL: http://svn.apache.org/viewvc?rev=961409&view=rev
Log:
* CountDownLatch.cs:  Add a Count method to see how many times the latch needs to be counted down.

Modified:
    activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/Util/CountDownLatch.cs

Modified: activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/Util/CountDownLatch.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/Util/CountDownLatch.cs?rev=961409&r1=961408&r2=961409&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/Util/CountDownLatch.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/Util/CountDownLatch.cs Wed Jul  7 15:33:09 2010
@@ -29,6 +29,11 @@ namespace Apache.NMS.Util
 			remaining = i;
 		}
 
+		public int Count
+		{
+			get{ return this.remaining; }
+		}
+		
 		public void countDown()
 		{
 			lock(mutex)