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

ThreadPool problem #401

Open
drslebedev opened this issue Sep 4, 2024 · 0 comments
Open

ThreadPool problem #401

drslebedev opened this issue Sep 4, 2024 · 0 comments

Comments

@drslebedev
Copy link
Contributor

There appears to be a potential problem with the ThreadPool where not all threads are properly terminated or stopped before a new test begins. This issue was observed in the qa_Scheduler test. As a temporary workaround, a separate ThreadPool object is created for each test, as implemented in this commit:eea05ca.

This workaround also helped resolve a deadlock issue in the qa_Scheduler "blocking scheduler" test for the Emscripten Debug configuration.

The underlying problem needs further investigation. If you run the qa_Scheduler test with THREAD_SANITIZER=ON, you can see more details about the issue.

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

1 participant