graysonzeng commented on PR #4171:
URL: https://github.com/apache/bookkeeper/pull/4171#issuecomment-1886458880

   > Makes sense. The only concern is about correctness. If the method is 
already processing while it gets called another time, is it necessary to 
execute the loop one extra time to ensure that something doesn't get left 
unprocessed?
   
   The sendAddSuccessCallbacks method has no input parameters, which means that 
assuming both threads want to call it, the execution result will be the same no 
matter which thread triggers it. Therefore there is no need to execute an 
additional loop
   


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to