Skip to content

[2.7] backport test for bpo-24484: Avoid race condition in multiprocessing cleanup (GH-2159)#2168

Merged
pitrou merged 1 commit intopython:2.7from
pitrou:backport-1eb6c00-2.7
Jun 13, 2017
Merged

[2.7] backport test for bpo-24484: Avoid race condition in multiprocessing cleanup (GH-2159)#2168
pitrou merged 1 commit intopython:2.7from
pitrou:backport-1eb6c00-2.7

Conversation

@pitrou
Copy link
Member

@pitrou pitrou commented Jun 13, 2017

Note 2.7 didn't suffer from this bug, so no actual fix was needed.

…honGH-2159)

* bpo-24484: Avoid race condition in multiprocessing cleanup

The finalizer registry can be mutated while inspected by multiprocessing
at process exit.

* Use test.support.start_threads()

* Add Misc/NEWS.
(cherry picked from commit 1eb6c00)
@pitrou pitrou merged commit d09f167 into python:2.7 Jun 13, 2017
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.

2 participants

Comments