avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/concurrent/src/java/org/apache/avalon/excalibur/concurrent ConditionalEvent.java DijkstraSemaphore.java Mutex.java ReadWriteLock.java Semaphore.java Sync.java ThreadBarrier.java package.html
Date Tue, 08 Oct 2002 03:15:14 GMT
bloritsch    2002/10/07 20:15:14

  Modified:    concurrent/src/java/org/apache/avalon/excalibur/concurrent
                        ConditionalEvent.java DijkstraSemaphore.java
                        Mutex.java ReadWriteLock.java Semaphore.java
                        Sync.java ThreadBarrier.java package.html
  Log:
  Deprecate all the old classes in favor of the new solution
  
  Revision  Changes    Path
  1.6       +3 -1      jakarta-avalon-excalibur/concurrent/src/java/org/apache/avalon/excalibur/concurrent/ConditionalEvent.java
  
  Index: ConditionalEvent.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/concurrent/src/java/org/apache/avalon/excalibur/concurrent/ConditionalEvent.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ConditionalEvent.java	22 Mar 2002 08:53:40 -0000	1.5
  +++ ConditionalEvent.java	8 Oct 2002 03:15:14 -0000	1.6
  @@ -16,6 +16,8 @@
    * is signalled and waiting thread(s) are released (based on whether signal()
    * or signalAll() was called).
    *
  + * @deprecated use EDU.oswego.cs.dl.util.concurrent.CondVar instead
  + *
    * @author <a href="mailto:kranga@sapient.com">Karthik Rangaraju</a>
    * @version CVS $Revision$ $Date$
    * @since 4.0
  
  
  
  1.6       +3 -1      jakarta-avalon-excalibur/concurrent/src/java/org/apache/avalon/excalibur/concurrent/DijkstraSemaphore.java
  
  Index: DijkstraSemaphore.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/concurrent/src/java/org/apache/avalon/excalibur/concurrent/DijkstraSemaphore.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- DijkstraSemaphore.java	22 Mar 2002 08:53:40 -0000	1.5
  +++ DijkstraSemaphore.java	8 Oct 2002 03:15:14 -0000	1.6
  @@ -14,6 +14,8 @@
    * acquire() a Djikstra semaphore with a zero count blocks until someone else
    * calls release() thus increasing the count.
    *
  + * @deprecated use EDU.oswego.cs.dl.util.concurrent.Semaphore instead
  + *
    * @author <a href="mailto:kranga@sapient.com">Karthik Rangaraju</a>
    * @version CVS $Revision$ $Date$
    * @since 4.0
  
  
  
  1.6       +3 -1      jakarta-avalon-excalibur/concurrent/src/java/org/apache/avalon/excalibur/concurrent/Mutex.java
  
  Index: Mutex.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/concurrent/src/java/org/apache/avalon/excalibur/concurrent/Mutex.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Mutex.java	3 Oct 2002 03:36:06 -0000	1.5
  +++ Mutex.java	8 Oct 2002 03:15:14 -0000	1.6
  @@ -10,6 +10,8 @@
   /**
    * A mutual exclusion {@link Semaphore}.
    *
  + * @deprecated use EDU.oswego.cs.dl.util.concurrent.Mutex instead
  + *
    * @version CVS $Revision$ $Date$
    * @since 4.0
    */
  
  
  
  1.12      +10 -8     jakarta-avalon-excalibur/concurrent/src/java/org/apache/avalon/excalibur/concurrent/ReadWriteLock.java
  
  Index: ReadWriteLock.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/concurrent/src/java/org/apache/avalon/excalibur/concurrent/ReadWriteLock.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- ReadWriteLock.java	3 Oct 2002 03:36:06 -0000	1.11
  +++ ReadWriteLock.java	8 Oct 2002 03:15:14 -0000	1.12
  @@ -18,6 +18,8 @@
    * When the lock is released, those threads attempting to acquire a write lock
    * will take priority over those trying to get a read lock.
    *
  + * @deprecated use EDU.oswego.cs.dl.util.concurrent.ReadWriteLock instead
  + *
    * @author <a href="mailto:leo.sutic@inspireinfrastructure.com">Leo Sutic</a>
    * @version CVS $Revision$ $Date$
    * @since 4.0
  @@ -73,12 +75,12 @@
        * for a lock.
        */
       public void aquireRead()
  -        throws InterruptedException 
  +        throws InterruptedException
       {
           acquireRead ();
       }
  -        
  -    
  +
  +
       /**
        * Attempts to acquire a write lock. If no lock could be acquired
        * the thread will wait until it can be obtained.
  @@ -114,11 +116,11 @@
        * for a lock.
        */
       public void aquireWrite()
  -        throws InterruptedException 
  +        throws InterruptedException
       {
           acquireWrite ();
       }
  -    
  +
       /**
        * Releases a lock. This method will release both types of locks.
        *
  @@ -167,7 +169,7 @@
               }
           }
       }
  -    
  +
       /**
        * @deprecated It's spelled <code>a<b>c</b>quire</code>...
        *
  @@ -198,7 +200,7 @@
               }
           }
       }
  -    
  +
       /**
        * @deprecated It's spelled <code>a<b>c</b>quire</code>...
        *
  
  
  
  1.7       +3 -1      jakarta-avalon-excalibur/concurrent/src/java/org/apache/avalon/excalibur/concurrent/Semaphore.java
  
  Index: Semaphore.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/concurrent/src/java/org/apache/avalon/excalibur/concurrent/Semaphore.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Semaphore.java	21 Mar 2002 04:44:11 -0000	1.6
  +++ Semaphore.java	8 Oct 2002 03:15:14 -0000	1.7
  @@ -15,6 +15,8 @@
    * acquire() a semaphore with a zero count blocks until someone else
    * calls release(), which increases the count.
    *
  + * @deprecated use EDU.oswego.cs.dl.util.concurrent.Semaphore instead
  + *
    * @version CVS $Revision$ $Date$
    * @since 4.0
    */
  
  
  
  1.7       +3 -1      jakarta-avalon-excalibur/concurrent/src/java/org/apache/avalon/excalibur/concurrent/Sync.java
  
  Index: Sync.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/concurrent/src/java/org/apache/avalon/excalibur/concurrent/Sync.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Sync.java	10 May 2002 02:51:14 -0000	1.6
  +++ Sync.java	8 Oct 2002 03:15:14 -0000	1.7
  @@ -10,6 +10,8 @@
   /**
    * The interface to synchronization objects.
    *
  + * @deprecated use EDU.oswego.cs.dl.util.concurrent.Sync instead
  + *
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
    * @version CVS $Revision$ $Date$
    * @since 4.0
  
  
  
  1.6       +3 -1      jakarta-avalon-excalibur/concurrent/src/java/org/apache/avalon/excalibur/concurrent/ThreadBarrier.java
  
  Index: ThreadBarrier.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/concurrent/src/java/org/apache/avalon/excalibur/concurrent/ThreadBarrier.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ThreadBarrier.java	22 Mar 2002 08:53:40 -0000	1.5
  +++ ThreadBarrier.java	8 Oct 2002 03:15:14 -0000	1.6
  @@ -13,6 +13,8 @@
    * consistent concurrency where you don't want to take the performance penalty
    * of providing mutual exclusion to shared resources
    *
  + * @deprecated use EDU.oswego.cs.dl.util.concurrent.Barrier instead
  + *
    * @author <a href="mailto:kranga@sapient.com">Karthik Rangaraju</a>
    * @version CVS $Revision$ $Date$
    * @since 4.0
  
  
  
  1.2       +2 -1      jakarta-avalon-excalibur/concurrent/src/java/org/apache/avalon/excalibur/concurrent/package.html
  
  Index: package.html
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/concurrent/src/java/org/apache/avalon/excalibur/concurrent/package.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- package.html	12 Feb 2002 06:41:44 -0000	1.1
  +++ package.html	8 Oct 2002 03:15:14 -0000	1.2
  @@ -1,5 +1,6 @@
   <html>
   <body>
  -Concurrency control utilities.
  +<p>Concurrency control utilities.</p>
  +<p><strong>This is deprecated in favor of Doug Lea's concurrency utils</strong></p>
   </body>
   </html>
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message