activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r961409 - /activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/Util/CountDownLatch.cs
Date Wed, 07 Jul 2010 15:33:09 GMT
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)



Mime
View raw message