openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mprud...@apache.org
Subject svn commit: r452289 - /incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/DataCacheScheduler.java
Date Tue, 03 Oct 2006 01:20:16 GMT
Author: mprudhom
Date: Mon Oct  2 18:20:16 2006
New Revision: 452289

URL: http://svn.apache.org/viewvc?view=rev&rev=452289
Log:
Set the data cache schedule thread to be a daemon thread.

Modified:
    incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/DataCacheScheduler.java

Modified: incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/DataCacheScheduler.java
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/DataCacheScheduler.java?view=diff&rev=452289&r1=452288&r2=452289
==============================================================================
--- incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/DataCacheScheduler.java
(original)
+++ incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/DataCacheScheduler.java
Mon Oct  2 18:20:16 2006
@@ -97,6 +97,7 @@
         _stop = false;
         if (_thread == null) {
             _thread = new Thread(this, _loc.get("scheduler-name").getMessage());
+            _thread.setDaemon(true);
             _thread.start();
             if (_log.isTraceEnabled())
                 _log.trace(_loc.get("scheduler-start", _thread.getName()));



Mime
View raw message