[Swift-commit] r4737 - trunk/src/org/griphyn/vdl/karajan
hategan at ci.uchicago.edu
hategan at ci.uchicago.edu
Sat Jul 2 20:57:32 CDT 2011
Author: hategan
Date: 2011-07-02 20:57:32 -0500 (Sat, 02 Jul 2011)
New Revision: 4737
Modified:
trunk/src/org/griphyn/vdl/karajan/WaitingThreadsMonitor.java
Log:
in some cases there is no stack
Modified: trunk/src/org/griphyn/vdl/karajan/WaitingThreadsMonitor.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/WaitingThreadsMonitor.java 2011-07-03 01:56:38 UTC (rev 4736)
+++ trunk/src/org/griphyn/vdl/karajan/WaitingThreadsMonitor.java 2011-07-03 01:57:32 UTC (rev 4737)
@@ -14,7 +14,9 @@
private static Set threads;
public synchronized static void addThread(VariableStack stack) {
- getThreads().add(stack);
+ if (stack != null) {
+ getThreads().add(stack);
+ }
}
private static synchronized Set getThreads() {
More information about the Swift-commit
mailing list