[Python-checkins] [python/cpython] 1eb6c0: bpo-24484: Avoid race condition in multiprocessing...

GitHub noreply at github.com
Tue Jun 13 11:11:24 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/python/cpython
  Commit: 1eb6c0074d17f4fd425cacfdda893d65f5f77f0a
      https://github.com/python/cpython/commit/1eb6c0074d17f4fd425cacfdda893d65f5f77f0a
  Author: Antoine Pitrou <pitrou at free.fr>
  Date:   2017-06-13 (Tue, 13 Jun 2017)

  Changed paths:
    M Lib/multiprocessing/util.py
    M Lib/test/_test_multiprocessing.py
    M Misc/NEWS

  Log Message:
  -----------
  bpo-24484: Avoid race condition in multiprocessing cleanup (#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




More information about the Python-checkins mailing list