This is the mail archive of the
frysk-cvs@sources.redhat.com
mailing list for the frysk project.
[SCM] master: Delete useless Proc.quitLatch.
- From: cagney at sourceware dot org
- To: frysk-cvs at sourceware dot org
- Date: 14 Mar 2008 21:40:44 -0000
- Subject: [SCM] master: Delete useless Proc.quitLatch.
- Reply-to: frysk at sourceware dot org
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