Skip to content
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

mtqueue.hpp中的代码细节问题 #32

Open
vandoor opened this issue Jun 10, 2024 · 1 comment
Open

mtqueue.hpp中的代码细节问题 #32

vandoor opened this issue Jun 10, 2024 · 1 comment

Comments

@vandoor
Copy link

vandoor commented Jun 10, 2024

slides/thread/mtqueue.hpp中,std::optional try_pop_until函数中,使用的是m_cv_empty.wait_for而不是wait_until。

@archibate
Copy link
Collaborator

对不起!是我写错了,已经修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants