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

Dispatcher exception + high CPU usage fix #9258

Merged
merged 9 commits into from
Jun 22, 2021

Conversation

Nir-Az
Copy link
Collaborator

@Nir-Az Nir-Az commented Jun 20, 2021

Continuation of #9219.
Tracked on [LRS-125]

@Nir-Az Nir-Az requested a review from maloel June 20, 2021 18:20
src/dispatcher.cpp Outdated Show resolved Hide resolved
std::atomic_bool run = { false };
auto func = [&](dispatcher::cancellable_timer c)
{
std::this_thread::sleep_for(std::chrono::seconds(3));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should really be using the cancellable_timer... and then we can test that, too... something to think about :)

@maloel maloel merged commit d95be8a into IntelRealSense:development Jun 22, 2021
maloel added a commit that referenced this pull request Jun 22, 2021
@Nir-Az Nir-Az deleted the waiting_on_fix branch July 27, 2021 12:37
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.

2 participants