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

i#6666: Avoid hang when analyzer worker returns early #6667

Merged
merged 3 commits into from
Feb 22, 2024

Conversation

derekbruening
Copy link
Contributor

Adds a call to set_active(false) on the output stream when an analyzer worker thread returns early due to an error. This frees up the current input and avoids a hang in the scheduler after the error is printed.

Adds a unit test which hangs without this fix.

Fixes #6666

Adds a call to set_active(false) on the output stream when an analyzer
worker thread returns early due to an error.  This frees up the
current input and avoids a hang in the scheduler after the error is
printed.

Adds a unit test which hangs without this fix.

Fixes #6666
clients/drcachesim/analyzer.cpp Outdated Show resolved Hide resolved
clients/drcachesim/analyzer.cpp Outdated Show resolved Hide resolved
clients/drcachesim/analyzer.cpp Outdated Show resolved Hide resolved
@derekbruening derekbruening merged commit afdc470 into master Feb 22, 2024
16 checks passed
@derekbruening derekbruening deleted the i6666-analyzer-hang branch February 22, 2024 03:34
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.

Hang in scheduler when parallel analysis tool reports an error
2 participants