billbarker 2003/12/24 19:08:31 Modified: util/java/org/apache/tomcat/util/threads ThreadPool.java Log: Fix potential race condition. You'll need some pretty high-end hardware to see this in the real world, but it's still technically a bug. Revision Changes Path 1.19 +1 -1 jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/threads/ThreadPool.java Index: ThreadPool.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/threads/ThreadPool.java,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- ThreadPool.java 6 Nov 2003 19:05:23 -0000 1.18 +++ ThreadPool.java 25 Dec 2003 03:08:31 -0000 1.19 @@ -638,9 +638,9 @@ t = new ThreadWithAttributes(p, this); t.setDaemon(true); t.setName(p.getName() + "-Processor" + p.getSequence()); - t.start(); p.addThread( t, this ); noThData=true; + t.start(); } public void run() {
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]