-
Notifications
You must be signed in to change notification settings - Fork 603
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
Resuming a threadpool resumes all #13
Comments
I see that |
You're probably right. Not sure why I wrote that when I did. In any case this should be changed since it's not consistent. As I see it either Resuming a single thread pool probably requires a bit more work; a variable on the thread pool itself instead of a global and then probably some thinking on how the signalling should work ( |
At the moment pause/resume synchronisation commands affect all thread pools. Someone issuing
thpool_pause(thpool)
will cause all thread pools to pause for example even if only one thread pool is passed as argument.To work around this, all thread specific variables should be bundled inside the thread pool structure.
(initial report: #11)
The text was updated successfully, but these errors were encountered: