tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Rossbach ...@objektpark.de>
Subject Why we need at Http11AprProtocol a synchronization?
Date Tue, 14 Mar 2006 09:46:16 GMT
At a small review I find this inside:

o.a.coyote.http11.Http11AprProtocol
..
     public boolean process(long socket) {
...
L: 619
                    if (proto.getDomain() != null) {
                         synchronized (this) {
                             try {
                                 RequestInfo rp = processor.getRequest 
().getRequestProcessor();
...

==
Why the RequestInfo MbeanServer registration need a synchronization?

regards
peter




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


Mime
View raw message