incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r891179 - /sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/JobEventHandler.java
Date Wed, 16 Dec 2009 10:39:38 GMT
Author: cziegeler
Date: Wed Dec 16 10:39:38 2009
New Revision: 891179

URL: http://svn.apache.org/viewvc?rev=891179&view=rev
Log:
Make thread pool variable volatile.

Modified:
    sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/JobEventHandler.java

Modified: sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/JobEventHandler.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/JobEventHandler.java?rev=891179&r1=891178&r2=891179&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/JobEventHandler.java
(original)
+++ sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/JobEventHandler.java
Wed Dec 16 10:39:38 2009
@@ -147,7 +147,7 @@
     /** The map of events we're currently processing. */
     private final Map<String, StartedJobInfo> processingEventsList = new HashMap<String,
StartedJobInfo>();
 
-    public static ThreadPool JOB_THREAD_POOL;
+    public static volatile ThreadPool JOB_THREAD_POOL;
 
     /** Sync lock */
     private final Object writeLock = new Object();



Mime
View raw message