[Swift-commit] r7844 - trunk/src/org/griphyn/vdl/karajan

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Thu May 8 23:57:10 CDT 2014


Author: hategan
Date: 2014-05-08 23:57:10 -0500 (Thu, 08 May 2014)
New Revision: 7844

Modified:
   trunk/src/org/griphyn/vdl/karajan/HangChecker.java
Log:
fixed hang checker

Modified: trunk/src/org/griphyn/vdl/karajan/HangChecker.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/HangChecker.java	2014-05-09 04:56:39 UTC (rev 7843)
+++ trunk/src/org/griphyn/vdl/karajan/HangChecker.java	2014-05-09 04:57:10 UTC (rev 7844)
@@ -39,7 +39,6 @@
 
 import k.rt.Context;
 import k.rt.ExecutionException;
-import k.rt.Stack;
 import k.thr.LWThread;
 import k.thr.Scheduler;
 
@@ -415,7 +414,7 @@
             }
             Object prev = c.getLast();
             for (Object o : c) {
-                if (o instanceof Stack) {
+                if (o instanceof LWThread) {
                     if (prev != null) {
                         ps.println("\t" + varWithLine((DSHandle) prev) + " is needed by: ");
                     }




More information about the Swift-commit mailing list