Probably I'm missing something here but I was wondering if in the
DefaultConcurrentCometHandler, EnQueueEvent method, is it really necessary
to have the onEvent call synchronized (this is the current code):
.....
synchronized(this){
onEvent(event);
}
....
I'm under the impression that at any time only 1 thread would reach that
point anyway and any other thread would end placing the event in the queue
and return right way. So, why the sych?
Thanks.
--
View this message in context: http://www.nabble.com/DefaultConcurrentCometHandler-tp24737023p24737023.html
Sent from the Grizzly - Users mailing list archive at Nabble.com.