allthingssecurity commented on PR #30813:
URL: https://github.com/apache/camel/pull/30813#issuecomment-7186175650

   Thanks.
   
   1. `volatile`: no change. The field is only read and written in `doStart()` 
and `doStop()`, and `ServiceSupport` runs those one at a time under its lock, 
which also gives the visibility between the threads that call them. The timeout 
task itself never reads it.
   2. Done in 988855e4e4cf, a bit differently: a `shutdownAwaitTermination` of 
0 now skips the wait and the WARN, instead of waiting 100 ms. 0 asks for no 
wait, and `awaitTermination(0)` did not wait before either; it only logged the 
WARN on every clean stop because the pool thread had not ended yet. The s3 
stream upload tests pass (26 run, 0 failures).
   


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