tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Ro├čbach ...@objektpark.de>
Subject Re: svn commit: r960069 - /tomcat/trunk/java/org/apache/tomcat/util/net/JIoEndpoint.java
Date Fri, 02 Jul 2010 17:59:13 GMT
Many Thanks and sorry :-)

Peter

Am 02.07.2010 um 19:50 schrieb markt@apache.org:

> 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");
> +            timeoutThread.setDaemon(true);
>             timeoutThread.start();
>         }
>     }
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message