Author: remm
Date: Thu Feb 16 05:53:29 2006
New Revision: 378248
URL: http://svn.apache.org/viewcvs?rev=378248&view=rev
Log:
- Remove useless thread sync.
Modified:
tomcat/connectors/trunk/util/java/org/apache/tomcat/util/net/AprEndpoint.java
Modified:
tomcat/connectors/trunk/util/java/org/apache/tomcat/util/net/AprEndpoint.java
URL:
http://svn.apache.org/viewcvs/tomcat/connectors/trunk/util/java/org/apache/tomcat/util/net/AprEndpoint.java?rev=378248&r1=378247&r2=378248&view=diff
==============================================================================
---
tomcat/connectors/trunk/util/java/org/apache/tomcat/util/net/AprEndpoint.java
(original)
+++
tomcat/connectors/trunk/util/java/org/apache/tomcat/util/net/AprEndpoint.java
Thu Feb 16 05:53:29 2006
@@ -91,12 +91,6 @@
/**
- * Synchronization object.
- */
- protected final Object threadSync = new Object();
-
-
- /**
* The acceptor thread.
*/
protected Thread acceptorThread = null;
@@ -927,11 +921,6 @@
}
- // Notify the threadStop() method that we have shut ourselves down
- synchronized (threadSync) {
- threadSync.notifyAll();
- }
-
}
}
@@ -1115,11 +1104,6 @@
}
- // Notify the threadStop() method that we have shut ourselves down
- synchronized (threadSync) {
- threadSync.notifyAll();
- }
-
}
}
@@ -1216,11 +1200,6 @@
}
- // Tell threadStop() we have shut ourselves down successfully
- synchronized (threadSync) {
- threadSync.notifyAll();
- }
-
}
@@ -1504,11 +1483,6 @@
} catch (Throwable t) {
log.error(sm.getString("endpoint.poll.error"), t);
}
- }
-
- // Notify the threadStop() method that we have shut ourselves down
- synchronized (threadSync) {
- threadSync.notifyAll();
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]