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

feat(mpmc_blocking_q): add blocking dequeue without timeout #2588

Merged
merged 1 commit into from
Dec 30, 2022
Merged

feat(mpmc_blocking_q): add blocking dequeue without timeout #2588

merged 1 commit into from
Dec 30, 2022

Conversation

alokpr
Copy link
Contributor

@alokpr alokpr commented Dec 29, 2022

Use the new blocking dequeue to avoid unnecessarily waking up the thread pool every 10s.

Fixes #2587 by replacing std::condition_variable::wait_for with std::condition_variable::wait as a workaroung for gcc 11.3 issue 101978.

Use the new blocking dequeue to avoid unnecessarily waking up the
thread pool every 10s.

Fixes #2587 by replacing std::condition_variable::wait_for with
std::condition_variable::wait as a workaroung for gcc 11.3 issue 101978.
@gabime
Copy link
Owner

gabime commented Dec 30, 2022

Thanks @alokpr

@alokpr alokpr deleted the feat-blocking-dequeue branch December 30, 2022 13:21
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

Successfully merging this pull request may close these issues.

tsan false warnings for mpmc_blocking_queue::dequeue_for
2 participants