cckellogg edited a comment 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) ``` There might be another cause for this blocking? It there a way to reproduce this or get a profile of the the go routines when this happens? -- 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]
