Matt-Esch commented on PR #15508: URL: https://github.com/apache/pulsar/pull/15508#issuecomment-1121303435
Are we guaranteed that `--(*numberOfOpenHandlers) == 0` is atomic if the underlying data type isn't atomic? The fix I have put in place allows the decrement race but still only one thread can win due to the lock. -- 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]
