Update of /var/cvs/src/org/mmbase/core/util
In directory james.mmbase.org:/tmp/cvs-serv7005/core/util
Modified Files:
DaemonThread.java
Log Message:
put prefixing of thread names in DaemonThread itself
See also: http://cvs.mmbase.org/viewcvs/src/org/mmbase/core/util
Index: DaemonThread.java
===================================================================
RCS file: /var/cvs/src/org/mmbase/core/util/DaemonThread.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- DaemonThread.java 9 Jul 2008 16:02:05 -0000 1.3
+++ DaemonThread.java 6 Sep 2008 14:33:53 -0000 1.4
@@ -16,7 +16,7 @@
* Defines a daemon thread that runs in the threadgroup belonging to this
MMBase context.
* @since MMBase-1.8
* @author Pierre van Rooden
- * @version $Id: DaemonThread.java,v 1.3 2008/07/09 16:02:05 michiel Exp $
+ * @version $Id: DaemonThread.java,v 1.4 2008/09/06 14:33:53 michiel Exp $
* @deprecated This class copies functionality present in e.g.
java.util.concurrent.ScheduledThreadPoolExecutor
*/
@@ -61,7 +61,7 @@
* @param name the name of the thread
*/
public DaemonThread(Runnable target, String name) {
- super(MMBaseContext.getThreadGroup(), target, name);
+ super(MMBaseContext.getThreadGroup(), target,
MMBaseContext.getMachineName() + ":" + name);
this.target = target;
setDaemon(true);
}
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs