Author: mes
Date: 2012-01-10 15:53:46 -0800 (Tue, 10 Jan 2012)
New Revision: 27974

Modified:
   core3/api/trunk/work-api/src/main/java/org/cytoscape/work/AbstractTask.java
Log:
made cancelled variable volatile

Modified: 
core3/api/trunk/work-api/src/main/java/org/cytoscape/work/AbstractTask.java
===================================================================
--- core3/api/trunk/work-api/src/main/java/org/cytoscape/work/AbstractTask.java 
2012-01-10 23:48:10 UTC (rev 27973)
+++ core3/api/trunk/work-api/src/main/java/org/cytoscape/work/AbstractTask.java 
2012-01-10 23:53:46 UTC (rev 27974)
@@ -9,7 +9,7 @@
        /**
         *  If this is true, we should abort whatever the <code>Task</code> is 
currently doing in the run() method.
         */
-       protected boolean cancelled = false;
+       protected volatile boolean cancelled = false;
 
        private TaskIterator taskIterator;
 

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to