* Corefile Actions and ProcBlockActions
@ 2007-06-05 17:31 Nurdin Premji
2007-06-08 17:36 ` Nurdin Premji
0 siblings, 1 reply; 2+ messages in thread
From: Nurdin Premji @ 2007-06-05 17:31 UTC (permalink / raw)
To: frysk
I have created branch npremji-procblockaction-20070506-branch.
On this branch will be a refactoring of ProcBlockAction to take a
ProcObserver interface with two methods existingTask() and
allExistingTasksCompleted() (so maybe a ProcObserver.ProcAction
extension to the interface) rather than an event. This will clear up
some circular dependencies with trying to use the same StacktraceAction
for a corefile proc and a live/ptrace proc. Additionally a
ProcCoreAction with the same interface will be created.
This will mean that StacktraceAction will change from being an "is a"
relation to a ProcBlockAction to ProcBlockAction having a "has a"
relation with a ProcObserver(.ProcAction). Similar changes will be done
to any class extending ProcBlockAction.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Corefile Actions and ProcBlockActions
2007-06-05 17:31 Corefile Actions and ProcBlockActions Nurdin Premji
@ 2007-06-08 17:36 ` Nurdin Premji
0 siblings, 0 replies; 2+ messages in thread
From: Nurdin Premji @ 2007-06-08 17:36 UTC (permalink / raw)
To: frysk
Nurdin Premji wrote:
> I have created branch npremji-procblockaction-20070506-branch.
> On this branch will be a refactoring of ProcBlockAction to take a
> ProcObserver interface with two methods existingTask() and
> allExistingTasksCompleted() (so maybe a ProcObserver.ProcAction
> extension to the interface) rather than an event. This will clear up
> some circular dependencies with trying to use the same
> StacktraceAction for a corefile proc and a live/ptrace proc.
> Additionally a ProcCoreAction with the same interface will be created.
>
> This will mean that StacktraceAction will change from being an "is a"
> relation to a ProcBlockAction to ProcBlockAction having a "has a"
> relation with a ProcObserver(.ProcAction). Similar changes will be
> done to any class extending ProcBlockAction.
Branch has been merged.
So now StacktraceAction and CoredumpAction are independent of the type
of Proc they are running on (running ptrace Proc or dead corefile Proc).
To actually get the action to run it must be added to the proc with one
of ProcBlockAction or ProcCoreAction.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-06-07 14:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-05 17:31 Corefile Actions and ProcBlockActions Nurdin Premji
2007-06-08 17:36 ` Nurdin Premji
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).