-
Notifications
You must be signed in to change notification settings - Fork 733
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Log另一个死锁问题 #89
Comments
你说的是第三张图片里的锁没释放吗?123行会释放锁的 |
不是,是第一张和第二张里的mtx_ |
|
队列满了的话,生产者不是执行else里的fputs语句,然后释放锁吗? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
BlockDeque满了的话,会等待消费者线程消费。但是没有释放Log中的锁,导致消费者线程也无法消费
The text was updated successfully, but these errors were encountered: