ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs ProcessDestroyer.java StreamPumper.java
Date Thu, 24 Jul 2003 13:29:38 GMT
bodewig     2003/07/24 06:29:38

  Modified:    src/main/org/apache/tools/ant/taskdefs ProcessDestroyer.java
                        StreamPumper.java
  Log:
  notifyAll instead of notify
  
  Revision  Changes    Path
  1.11      +1 -1      ant/src/main/org/apache/tools/ant/taskdefs/ProcessDestroyer.java
  
  Index: ProcessDestroyer.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/ProcessDestroyer.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- ProcessDestroyer.java	15 Jul 2003 07:19:15 -0000	1.10
  +++ ProcessDestroyer.java	24 Jul 2003 13:29:37 -0000	1.11
  @@ -214,7 +214,7 @@
           synchronized (processes) {
               boolean processRemoved = processes.removeElement(process);
               if (processes.size() == 0) {
  -                processes.notify();
  +                processes.notifyAll();
                   removeShutdownHook();
               }
               return processRemoved;
  
  
  
  1.15      +1 -1      ant/src/main/org/apache/tools/ant/taskdefs/StreamPumper.java
  
  Index: StreamPumper.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/StreamPumper.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- StreamPumper.java	6 Jul 2003 09:57:36 -0000	1.14
  +++ StreamPumper.java	24 Jul 2003 13:29:37 -0000	1.15
  @@ -131,7 +131,7 @@
               }
               synchronized (this) {
                   finished = true;
  -                notify();
  +                notifyAll();
               }
           }
       }
  
  
  

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


Mime
View raw message