Bug 2747 - monitor displaying duplicate process ID's
Summary: monitor displaying duplicate process ID's
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Nurdin Premji
URL:
Keywords:
Depends on:
Blocks: 1632
  Show dependency treegraph
 
Reported: 2006-06-09 20:29 UTC by Nurdin Premji
Modified: 2006-11-21 23:05 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 Nurdin Premji 2006-06-09 20:29:09 UTC
The monitor displays the same process ID for different tasks
Comment 1 Nurdin Premji 2006-06-09 20:33:46 UTC
Fixed problem was in OffspringObserver (addedto) method.

2006-06-09  Nurdin Premji  <npremji@redhat.com>

	* TestOffspringObserver.java (tasksAdded): changed from integer counters
	to task sets so that duplicates can be ignored.
	(testOffspringObserver): more refactoring done, used to be
	testTasksObserver. 
	(OffsprintObserver): used to be TasksObserver.
	* OffspringObserver.java (addedTo): Forgot to enclose if statement
	in a block after adding requestForkedObserver.
	(updateOffspring): added some Logging info
	(addedTo): changed if condition so that combination of clone and fork
	observers do not both call existingTask (just the first one does)