clebertsuconic commented on issue #2558: ARTEMIS-2257 Race condition when 
calling shutdownGracefully in SharedEventLoopGroup
URL: https://github.com/apache/activemq-artemis/pull/2558#issuecomment-472934897
 
 
   I see the issue... getInstance applies on synchrnoized class, and 
shutdown.getAndSet is executed in there.
   
   This is just acting on the scheduling.. not the actual waiting. 
   
   
   Anything SharedEventLoopGroup is a factory for the entire VM, so the 
synchronized should be applied on class. 
   
   
   (That was what I was looking for)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to