FW: very very small extension
"Christian Cryder" <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <[email protected]> |
Forwarding on behalf of Thorsten... ---------------------------------------------- Christian Cryder Internet Architect, ATMReports.com Project Chair, BarracudaMVC - http://barracudamvc.org ---------------------------------------------- "Coffee? I could quit anytime, just not today" -----Original Message----- From: [email protected] [mailto:[email protected]]On Behalf Of Thorsten Möller Sent: Tuesday, September 23, 2003 4:36 PM To: [email protected] Subject: Barracuda: very very small extension Hi! I made a very small extension to the class DefaultEventPool: the event pool cleanup thread has now a name. This is very useful during debugging, because with this one is able to identify the thread by name, whereas without one sees only something like "Thread-x". I often see that programmer don't name the threads, but it is useful! Thorsten
DefaultEventPool.patch.txt
(text/plain, 581 B)
Index: DefaultEventPool.java
===================================================================
RCS file: /var/cvs/Barracuda/src/org/enhydra/barracuda/core/event/DefaultEventPool.java,v
retrieving revision 1.11
diff -u -r1.11 DefaultEventPool.java
--- DefaultEventPool.java 16 Sep 2003 22:48:09 -0000 1.11
+++ DefaultEventPool.java 23 Sep 2003 20:16:47 -0000
@@ -92,6 +92,7 @@
//start the cleanup thread
thread = new Thread(new EventListCleanerUpper());
+ thread.setName("Barracuda event pool cleanup thread");
thread.start();
}
ATT01328.txt
(text/plain, 189 B)
_______________________________________________ Barracuda mailing list [email protected] http://www.enhydra.org/mailman/listinfo.cgi/barracuda FAQ - http://www.jguru.com/faq/Barracuda