This is the mail archive of the frysk-cvs@sources.redhat.com mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[SCM] master: swagiaal: ProcRunUtil.java: Moved unblocking to ProcTasksObserver.


The branch, master has been updated
       via  882074b248f05b4f67c402d4d8919cfb6cd8d581 (commit)
      from  d68d98617fe1c1510220319e72e5516166db285e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 882074b248f05b4f67c402d4d8919cfb6cd8d581
Author: Sami Wagiaalla <swagiaal@redhat.com>
Date:   Wed Mar 19 17:13:08 2008 -0400

    swagiaal: ProcRunUtil.java: Moved unblocking to ProcTasksObserver.
    
    frysk-core/frysk/util/ChangeLog
    +2008-03-19  Sami Wagiaalla  <swagiaal@redhat.com>
    +
    +	* ProcRunUtil.java: Moved unblocking to ProcTasksObserver.
    +

-----------------------------------------------------------------------

Summary of changes:
 frysk-core/frysk/util/ChangeLog        |    4 ++++
 frysk-core/frysk/util/ProcRunUtil.java |    4 +++-
 2 files changed, 7 insertions(+), 1 deletions(-)

First 500 lines of diff:
diff --git a/frysk-core/frysk/util/ChangeLog b/frysk-core/frysk/util/ChangeLog
index c98bf8f..0b08352 100644
--- a/frysk-core/frysk/util/ChangeLog
+++ b/frysk-core/frysk/util/ChangeLog
@@ -1,3 +1,7 @@
+2008-03-19  Sami Wagiaalla  <swagiaal@redhat.com>
+
+	* ProcRunUtil.java: Moved unblocking to ProcTasksObserver.
+
 2008-03-19  Sami Wagiaalla  <swagiaal@redhat.com> 
 
 	* ProcRunUtil.java: keeps a set of known tasks.
diff --git a/frysk-core/frysk/util/ProcRunUtil.java b/frysk-core/frysk/util/ProcRunUtil.java
index a82c83b..1debea6 100644
--- a/frysk-core/frysk/util/ProcRunUtil.java
+++ b/frysk-core/frysk/util/ProcRunUtil.java
@@ -176,7 +176,7 @@ public class ProcRunUtil {
 		procs.add(proc);
 		addObservers(proc);
 	    }
-	    task.requestUnblock(this);
+	    
 	    return Action.BLOCK;
 	}
 
@@ -203,6 +203,8 @@ public class ProcRunUtil {
 		// main task after the fork or clone, to give us a
 		// chance to pick it up.
 		task.requestUnblock(forkedObserver);
+		task.requestUnblock(attachedObserver);
+		
 	    }
 	}
 


hooks/post-receive
--
frysk system monitor/debugger


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]