This is the mail archive of the
frysk-cvs@sources.redhat.com
mailing list for the frysk project.
frysk-core/frysk/hpd AttachCommand.java CLI.ja ...
- From: moore at sourceware dot org
- To: frysk-cvs at sourceware dot org
- Date: 6 Sep 2007 12:36:52 -0000
- Subject: frysk-core/frysk/hpd AttachCommand.java CLI.ja ...
- Reply-to: frysk at sourceware dot org
CVSROOT: /cvs/frysk
Module name: frysk-core
Changes by: moore@sourceware.org 2007-09-06 12:36:52
Modified files:
frysk/hpd : AttachCommand.java CLI.java ChangeLog
RunCommand.java
Log message:
Simplify synchronization of attaching a process.
2007-09-06 Tim Moore <timoore@redhat.com>
* CLI.java (startAttach, finishAttach): Remove. replace with:
(doAttach): New method that attaches process and waits until it is
attached, as signalled by the SteppingEngine.
(update): Signal that process is attached via a CountDownLatch
instead of notifying threads waiting on the CLI object.
* AttachCommand.java (update): Remove.
(handle): Don't register object as a SteppingEngine
observer. Instead, use cli.doAttach to perform the attach and wait
for its completion.
* RunCommand.java (update, handle): ditto.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/hpd/AttachCommand.java.diff?cvsroot=frysk&r1=1.7&r2=1.8
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/hpd/CLI.java.diff?cvsroot=frysk&r1=1.26&r2=1.27
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/hpd/ChangeLog.diff?cvsroot=frysk&r1=1.87&r2=1.88
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/hpd/RunCommand.java.diff?cvsroot=frysk&r1=1.7&r2=1.8