Bug 1419 - Host .requestAttachProc should be deleted
Summary: Host .requestAttachProc should be deleted
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P1 normal
Target Milestone: ---
Assignee: Andrew Cagney
URL:
Keywords:
Depends on:
Blocks: 1553
  Show dependency treegraph
 
Reported: 2005-10-04 22:03 UTC by Andrew Cagney
Modified: 2005-10-29 15:41 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Cagney 2005-10-04 22:03:03 UTC
Instead code should find the Proc and use .requestAttach.
Comment 1 Andrew Cagney 2005-10-04 22:04:53 UTC
2005-10-04  Andrew Cagney  <cagney@redhat.com>

        * Host.java: Delete requestAttachProc.
        * HostState.java: Update.
        * TestUnpaused.java, TestStop.java, TestStopAndStop.java,
        TestStopAndGo.java, TestPaused.java, TestGoAndGo.java,
        TestAttachCloningThreads.java: Replace Host .requestAttachProc,
        with Proc .requestAttach.

        * TestAttachCloningThreads.java, TestGoAndGo.java,
        TestPaused.java, TestStop.java, TestStopAndGo.java,
        TestStopAndStop.java, TestUnpaused.java: Use TestLib .PidChild.
        Parameterize ProcCreatedObserver with the process pid.  Delete
        registerChild call, handled by PidChild.

        * TestStep.java: Move PidChild call to ProcCreatedObserver, delete
        global "pid".
        * TestLib.java: In class Child, always register the pid.

        * TestStep.java, TestAttachCloningThreads.java: Replace
        StopEventLoopOnProcDestroy with PidChild and Child
        .stopEventLoopOnDestroy.
        * TestLib.java: Add class PidChild.  Add method
        stopEventLoopOnDestroy to Child class.