tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <...@pidster.com>
Subject Re: svn commit: r960069 - /tomcat/trunk/java/org/apache/tomcat/util/net/JIoEndpoint.java
Date Fri, 02 Jul 2010 17:58:14 GMT
On 02/07/2010 18:55, Pid wrote:
> On 02/07/2010 18:50, markt@apache.org wrote:
>> Author: markt
>> Date: Fri Jul  2 17:50:56 2010
>> New Revision: 960069
>>
>> URL: http://svn.apache.org/viewvc?rev=960069&view=rev
>> Log:
>> Make new timeout thread a daemon thread so Tomcat will shutdown properly
>>
>> Modified:
>>     tomcat/trunk/java/org/apache/tomcat/util/net/JIoEndpoint.java
>>
>> Modified: tomcat/trunk/java/org/apache/tomcat/util/net/JIoEndpoint.java
>> URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/JIoEndpoint.java?rev=960069&r1=960068&r2=960069&view=diff
>> ==============================================================================
>> --- tomcat/trunk/java/org/apache/tomcat/util/net/JIoEndpoint.java (original)
>> +++ tomcat/trunk/java/org/apache/tomcat/util/net/JIoEndpoint.java Fri Jul  2 17:50:56
2010
>> @@ -401,7 +401,8 @@ public class JIoEndpoint extends Abstrac
>>              }
>>              
>>              // Start async timeout thread
>> -            Thread timeoutThread = new Thread(new AsyncTimeout(), getName() + "-AsyncTimeout");
>> +            Thread timeoutThread = new Thread(new AsyncTimeout(),getName() + "-AsyncTimeout");
> 
> Is that a comma?  ...out(),getNam...

Answer: yes. And it's deliberate.  Please ignore my overheating brain.


p

> p
> 
>> +            timeoutThread.setDaemon(true);
>>              timeoutThread.start();
>>          }
>>      }
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: dev-help@tomcat.apache.org
>>
> 
> 



Mime
View raw message