public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
* [SCM]  master: Delete useless Proc.quitLatch.
@ 2008-03-14 21:40 cagney
  0 siblings, 0 replies; only message in thread
From: cagney @ 2008-03-14 21:40 UTC (permalink / raw)
  To: frysk-cvs

The branch, master has been updated
       via  c8c4519bd07e78dbf250681cf3d76a536cea69cc (commit)
      from  f593910d5f20dd4960379ae581b4cf320467c153 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit c8c4519bd07e78dbf250681cf3d76a536cea69cc
Author: Andrew Cagney <cagney@redhat.com>
Date:   Fri Mar 14 17:39:59 2008 -0400

    Delete useless Proc.quitLatch.
    
    frysk-core/frysk/proc/ChangeLog
    2008-03-14  Andrew Cagney  <cagney@redhat.com>
    
    	* Proc.java (quitLatch): Delete.

-----------------------------------------------------------------------

Summary of changes:
 frysk-core/frysk/proc/ChangeLog |    2 ++
 frysk-core/frysk/proc/Proc.java |   12 ------------
 2 files changed, 2 insertions(+), 12 deletions(-)

First 500 lines of diff:
diff --git a/frysk-core/frysk/proc/ChangeLog b/frysk-core/frysk/proc/ChangeLog
index c4bd5df..3cab047 100644
--- a/frysk-core/frysk/proc/ChangeLog
+++ b/frysk-core/frysk/proc/ChangeLog
@@ -1,5 +1,7 @@
 2008-03-14  Andrew Cagney  <cagney@redhat.com>
 
+	* Proc.java (quitLatch): Delete.
+	
 	* Proc.java (retain(Task)): Delete.
 	
 	* Host.java (taskPool): Delete.
diff --git a/frysk-core/frysk/proc/Proc.java b/frysk-core/frysk/proc/Proc.java
index 32cb090..9175c13 100644
--- a/frysk-core/frysk/proc/Proc.java
+++ b/frysk-core/frysk/proc/Proc.java
@@ -50,7 +50,6 @@ import java.util.Observer;
 import java.util.Set;
 import frysk.sys.ProcessIdentifier;
 import frysk.sys.ProcessIdentifierFactory;
-import frysk.util.CountDownLatch;
 import frysk.event.Event;
 import frysk.sys.Signal;
 import frysk.rsl.Log;
@@ -62,8 +61,6 @@ import frysk.rsl.Log;
 public abstract class Proc implements Comparable {
     private static final Log fine = Log.fine(Proc.class);
 
-    private CountDownLatch quitLatch;
-  
     /**
      * If known, due to the tracing of a fork, the Task that created
      * this process.
@@ -197,15 +194,6 @@ public abstract class Proc implements Comparable {
 	// FIXME: Should be handled by lower-level code.
 	ProcessIdentifier pid = ProcessIdentifierFactory.create(this.getPid());
 	Signal.KILL.kill(pid);
-	// Throw the countDown on the queue so that the command
-	// thread will wait until events provoked by Signal.kill()
-	// are handled.
-	this.quitLatch = new CountDownLatch(1);
-	Manager.eventLoop.add(new Event() {
-		public void execute() {
-		    quitLatch.countDown();
-		}
-	    });
     }
 
     /**


hooks/post-receive
--
frysk system monitor/debugger


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-14 21:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-14 21:40 [SCM] master: Delete useless Proc.quitLatch cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).