cpython/Lib/multiprocessing
Miss Islington (bot) 5513f6a99d
[3.14] gh-131788: make resource_tracker re-entrant safe (GH-131787) (#137737)
gh-131788: make resource_tracker re-entrant safe (GH-131787)

* make resource_tracker re-entrant safe
* Update Lib/multiprocessing/resource_tracker.py
* trim trailing whitespace
* use f-string and args = [x, *y, z]
* raise self._reentrant_call_error

---------
(cherry picked from commit f24a012350)

Co-authored-by: Thomas Grainger <tagrain@gmail.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
2025-10-16 21:25:14 -07:00
..
dummy [3.14] gh-138813: Fix mutable default kwargs={} in multiprocessing BaseProcess and DummyProcess to use None (GH-138814) (#139084) 2025-10-08 00:37:30 +00:00
__init__.py
connection.py [3.14] gh-132124: improve safety nets for creating AF_UNIX socket files (GH-134085) (#134447) 2025-05-21 17:36:32 +00:00
context.py [3.14] gh-80334: fix multiprocessing.freeze_support for other spawn platforms (GH-134462) (#134619) 2025-05-24 04:16:02 +00:00
forkserver.py [3.14] gh-126631: gh-137996: fix pre-loading of __main__ (GH-135295) (#138607) 2025-10-08 00:37:04 +00:00
heap.py
managers.py gh-115942: Add locked to several multiprocessing locks (#115944) 2025-04-08 11:14:12 +03:00
pool.py
popen_fork.py gh-131913: multiprocessing: add interrupt for POSIX (GH-132453) 2025-04-22 23:55:24 -07:00
popen_forkserver.py
popen_spawn_posix.py [3.14] gh-118981: multiprocessing.popen_spawn_posix, fix potential hang (gh-118982) (GH-138605) 2025-10-08 14:22:05 +02:00
popen_spawn_win32.py
process.py [3.14] gh-138813: Fix mutable default kwargs={} in multiprocessing BaseProcess and DummyProcess to use None (GH-138814) (#139084) 2025-10-08 00:37:30 +00:00
queues.py
reduction.py
resource_sharer.py
resource_tracker.py [3.14] gh-131788: make resource_tracker re-entrant safe (GH-131787) (#137737) 2025-10-16 21:25:14 -07:00
shared_memory.py
sharedctypes.py
spawn.py
synchronize.py gh-132561: Fix the public multiprocessing.SemLock.locked method (#132586) 2025-04-17 11:41:30 +02:00
util.py [3.14] gh-132124: improve safety nets for creating AF_UNIX socket files (GH-134085) (#134447) 2025-05-21 17:36:32 +00:00