s1monw commented on issue #1319: LUCENE-9164: process all events before closing 
gracefully
URL: https://github.com/apache/lucene-solr/pull/1319#issuecomment-596242053
 
 
   > I wonder/wish if we could simply use synchronized methods instead of a 
Semaphore with Integer.MAX_VALUE permits, but I guess we want to allow multiple 
threads to process events concurrently, and to allow adding new events while 
events are being processed, etc.
   
   this is indeed the reason

----------------------------------------------------------------
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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to