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

Bug 1646402: Python: Don't use threading in multiprocessing subprocesses #986

Merged
merged 3 commits into from
Jun 22, 2020

Conversation

mdboom
Copy link
Contributor

@mdboom mdboom commented Jun 18, 2020

Cc: @wlach -- I'd appreciate your review as well, even though permissions don't seem to let me request it...

@auto-assign auto-assign bot requested a review from brizental June 18, 2020 18:23
@mdboom mdboom requested a review from Dexterp37 June 18, 2020 18:23
Copy link
Contributor

@wlach wlach left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you so much for looking into this.

Copy link
Contributor

@Dexterp37 Dexterp37 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 tracking this down.

p.start()
p.join()

string_metric = metrics.StringMetricType(
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: can you add a comment stating that this definition must match the one in _subprocess?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👍

@mdboom mdboom merged commit 34e4a7e into mozilla:main Jun 22, 2020
@mdboom mdboom deleted the python-no-threading-in-subprocess branch June 22, 2020 14:19
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