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

CLN make generator exit thread safe #1428

Merged
merged 15 commits into from
Apr 24, 2023

Conversation

tomMoral
Copy link
Contributor

This is a followup of #1393 where we try to make the generator clean up thread safe for all interpreter, not only for Pypy.

@codecov
Copy link

codecov bot commented Apr 18, 2023

Codecov Report

Patch coverage: 44.44% and project coverage change: -0.17 ⚠️

Comparison is base (ceb203b) 94.71% compared to head (ef3d3fd) 94.54%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1428      +/-   ##
==========================================
- Coverage   94.71%   94.54%   -0.17%     
==========================================
  Files          44       44              
  Lines        7205     7207       +2     
==========================================
- Hits         6824     6814      -10     
- Misses        381      393      +12     
Impacted Files Coverage Δ
joblib/parallel.py 95.86% <44.44%> (-0.34%) ⬇️

... and 2 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Contributor

@ogrisel ogrisel left a comment

Choose a reason for hiding this comment

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

Thanks for the follow-up!

joblib/parallel.py Show resolved Hide resolved
joblib/parallel.py Outdated Show resolved Hide resolved
joblib/parallel.py Outdated Show resolved Hide resolved
joblib/parallel.py Outdated Show resolved Hide resolved
@fcharras
Copy link
Contributor

Suggestion to add a warning when it happens for interpreters other than Pypy in tomMoral#1

@tomMoral tomMoral merged commit 41b70ff into joblib:master Apr 24, 2023
@tomMoral tomMoral deleted the CLN_make_termination_thread_safe branch April 24, 2023 15:04
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.

None yet

3 participants