Skip to content

CLN make generator exit thread safe#1428

Merged
tomMoral merged 15 commits intojoblib:masterfrom
tomMoral:CLN_make_termination_thread_safe
Apr 24, 2023
Merged

CLN make generator exit thread safe#1428
tomMoral merged 15 commits intojoblib:masterfrom
tomMoral:CLN_make_termination_thread_safe

Conversation

@tomMoral
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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!

@fcharras
Copy link
Copy Markdown
Contributor

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

fcharras and others added 2 commits April 24, 2023 11:09
Co-authored-by: Thomas Moreau <thomas.moreau.2010@gmail.com>
@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.

3 participants