We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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.cpp 中异步日志判定感觉不严谨。 这个判断如果 deque 满了就会直接将日志输出到 fp_ ,但是按着生产-消费者模型应该在push_back时阻塞,所以我认为应该把deque_->full()判断去掉。
deque
fp_
deque_->full()
The text was updated successfully, but these errors were encountered:
删掉会导致可能发生死锁
Sorry, something went wrong.
No branches or pull requests
在 log.cpp 中异步日志判定感觉不严谨。
这个判断如果
deque
满了就会直接将日志输出到fp_
,但是按着生产-消费者模型应该在push_back时阻塞,所以我认为应该把deque_->full()
判断去掉。The text was updated successfully, but these errors were encountered: