git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@998195
13f79535-47bb-0310-9956-
ffa450edef68
long lastParachuteCheck = System.currentTimeMillis();
/**
- * Keep track of how many threads are in use
- */
- protected AtomicInteger activeSocketProcessors = new AtomicInteger(0);
-
- /**
*
*/
protected volatile CountDownLatch stopLatch = null;
}
public void run() {
- NioEndpoint.this.activeSocketProcessors.addAndGet(1);
SelectionKey key = null;
try {
key = socket.getIOChannel().keyFor(socket.getPoller().getSelector());
status = null;
//return to cache
processorCache.offer(this);
- NioEndpoint.this.activeSocketProcessors.addAndGet(-1); }
+ }
}
}