commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ozeigerm...@apache.org
Subject cvs commit: jakarta-commons/transaction/src/java/org/apache/commons/transaction/util CounterBarrier.java
Date Fri, 17 Dec 2004 12:33:44 GMT
ozeigermann    2004/12/17 04:33:44

  Modified:    transaction/src/java/org/apache/commons/transaction/util
                        CounterBarrier.java
  Log:
  Added a bit more of an explanation.
  
  Revision  Changes    Path
  1.2       +7 -4      jakarta-commons/transaction/src/java/org/apache/commons/transaction/util/CounterBarrier.java
  
  Index: CounterBarrier.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/transaction/src/java/org/apache/commons/transaction/util/CounterBarrier.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CounterBarrier.java	17 Dec 2004 00:11:38 -0000	1.1
  +++ CounterBarrier.java	17 Dec 2004 12:33:44 -0000	1.2
  @@ -25,6 +25,9 @@
   
   /**
    * Simple counter barrier to make a sequence of calls from different threads deterministic.
  + * This is very useful for testing where you want to have a contious flow throughout 
  + * different threads. The idea is to have an ordered sequence of numbers where n can not
be executed before 
  + * n-1 has not been.
    * 
    * @version $Revision$
    */
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message