codelipenghui commented on PR #21181:
URL: https://github.com/apache/pulsar/pull/21181#issuecomment-1723708288

   > No, the wait() method will give up the lock resource. The other thread can 
acquire the lock resource, it won't block.
   
   Ah, I forgot this part. The thread will release the current object lock and 
then run into the wait state. Thanks for the explanation.


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