[Aglets-commits] aglets/src/com/ibm/aglets/thread AgletThreadPool.java, 1.1.2.2, 1.1.2.3
Status: Beta
Brought to you by:
cat4hire
From: Luca F. <cat...@us...> - 2007-08-20 08:50:19
|
Update of /cvsroot/aglets/aglets/src/com/ibm/aglets/thread In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv25493/src/com/ibm/aglets/thread Modified Files: Tag: Branch-Integration_of_module_aglets2_1 AgletThreadPool.java Log Message: The threads created by the pool must be daemon. Index: AgletThreadPool.java =================================================================== RCS file: /cvsroot/aglets/aglets/src/com/ibm/aglets/thread/Attic/AgletThreadPool.java,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -u -d -r1.1.2.2 -r1.1.2.3 --- AgletThreadPool.java 9 Aug 2007 16:49:58 -0000 1.1.2.2 +++ AgletThreadPool.java 20 Aug 2007 08:50:14 -0000 1.1.2.3 @@ -86,6 +86,7 @@ logger.debug("Creating a new thread (thread number " + this.createdThread + ")"); AgletThread thread = new AgletThread(this.threadGroup); thread.setName("PooledAgletThread num." + this.createdThread); + thread.setDaemon(true); // all the pooled thread are daemons, they are utility threads this.threads.push(thread); this.createdThread++; } |