From jbossweb-commits at lists.jboss.org Wed Jan 21 05:22:10 2009 Content-Type: multipart/mixed; boundary="===============3270958397716933650==" MIME-Version: 1.0 From: jbossweb-commits at lists.jboss.org To: jbossweb-commits at lists.jboss.org Subject: [jbossweb-commits] JBossWeb SVN: r909 - branches/JBOSSWEB_2_0_0_GA_CP05_JBPAPP-1617/src/share/classes/org/apache/tomcat/util/net. Date: Wed, 21 Jan 2009 05:22:10 -0500 Message-ID: --===============3270958397716933650== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: galder.zamarreno(a)jboss.com Date: 2009-01-21 05:22:10 -0500 (Wed, 21 Jan 2009) New Revision: 909 Modified: branches/JBOSSWEB_2_0_0_GA_CP05_JBPAPP-1617/src/share/classes/org/apache= /tomcat/util/net/AprEndpoint.java Log: [JBPAPP-1617] Backported revision 214 for AprEndpoint to avoid race conditi= on in APREndpoint on non-linux machines. Modified: branches/JBOSSWEB_2_0_0_GA_CP05_JBPAPP-1617/src/share/classes/org= /apache/tomcat/util/net/AprEndpoint.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- branches/JBOSSWEB_2_0_0_GA_CP05_JBPAPP-1617/src/share/classes/org/apach= e/tomcat/util/net/AprEndpoint.java 2009-01-20 11:16:42 UTC (rev 908) +++ branches/JBOSSWEB_2_0_0_GA_CP05_JBPAPP-1617/src/share/classes/org/apach= e/tomcat/util/net/AprEndpoint.java 2009-01-21 10:22:10 UTC (rev 909) @@ -52,6 +52,7 @@ * * @author Mladen Turk * @author Remy Maucherat + * @author Galder Zamarren= o */ public class AprEndpoint { = @@ -767,6 +768,14 @@ sendfileThread.start(); } } + = + // Start acceptor threads + for (int i =3D 0; i < acceptorThreadCount; i++) { + Thread acceptorThread =3D new Thread(new Acceptor(), getNa= me() + "-Acceptor-" + i); + acceptorThread.setPriority(threadPriority); + acceptorThread.setDaemon(daemon); + acceptorThread.start(); + } } } = --===============3270958397716933650==--