cckellogg commented on issue #565:
URL: 
https://github.com/apache/pulsar-client-go/issues/565#issuecomment-882645102


   This code `bq.isNotFull` is a conditional variable 
(https://pkg.go.dev/sync#Cond.Wait) so it should already be releasing the lock 
when wait is called.
   
   ```
   bq.isNotEmpty = sync.NewCond(&bq.mutex)
   bq.isNotFull = sync.NewCond(&bq.mutex)
   ```
   
   


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