This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2020年04月07日 23:03 by vstinner, last changed 2022年04月11日 14:59 by admin. This issue is now closed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 19477 | merged | corona10, 2020年04月11日 18:05 | |
| PR 19511 | merged | corona10, 2020年04月14日 15:26 | |
| Messages (6) | |||
|---|---|---|---|
| msg365957 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2020年04月07日 23:03 | |
Currently, _ResourceSharer._after_fork() of multiprocessing.resource_sharer creates new locks and leak old locks on purpose. This method can benefit of the newly added _at_fork_reinit() method added by bpo-40089. Queue._after_fork() could also call self._notempty._at_fork_reinit(). Also: ForkAwareThreadLock could reinitializes its lock. |
|||
| msg366205 - (view) | Author: Dong-hee Na (corona10) * (Python committer) | Date: 2020年04月11日 12:09 | |
I am going to take a look |
|||
| msg366207 - (view) | Author: Dong-hee Na (corona10) * (Python committer) | Date: 2020年04月11日 12:10 | |
we should find all usages from Lib/multiprocessing/*.py |
|||
| msg366386 - (view) | Author: Dong-hee Na (corona10) * (Python committer) | Date: 2020年04月14日 13:16 | |
New changeset e1945307d36849f8be8937144cf3dd6ebab6274c by Dong-hee Na in branch 'master': bpo-40221: Update multiprocessing to use _at_fork_reinit (GH-19477) https://github.com/python/cpython/commit/e1945307d36849f8be8937144cf3dd6ebab6274c |
|||
| msg366399 - (view) | Author: Dong-hee Na (corona10) * (Python committer) | Date: 2020年04月14日 16:35 | |
New changeset a5900ecf9f22e65bef489633692e9ea6941379c5 by Dong-hee Na in branch 'master': bpo-40221: Update multiprocessing to use _at_fork_reinit (GH-19511) https://github.com/python/cpython/commit/a5900ecf9f22e65bef489633692e9ea6941379c5 |
|||
| msg366400 - (view) | Author: Dong-hee Na (corona10) * (Python committer) | Date: 2020年04月14日 16:38 | |
Looks like we update all the methods which are related to _after_fork under Lib/multiprocessing. I am now closing this issue. Thanks for the suggestion, Victor :) |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:59:29 | admin | set | github: 84402 |
| 2020年04月14日 16:38:40 | corona10 | set | status: open -> closed type: enhancement messages: + msg366400 resolution: fixed stage: patch review -> resolved |
| 2020年04月14日 16:35:43 | corona10 | set | messages: + msg366399 |
| 2020年04月14日 15:26:45 | corona10 | set | pull_requests: + pull_request18864 |
| 2020年04月14日 13:16:01 | corona10 | set | messages: + msg366386 |
| 2020年04月12日 10:58:55 | shihai1991 | set | nosy:
+ shihai1991 |
| 2020年04月11日 18:05:17 | corona10 | set | keywords:
+ patch stage: patch review pull_requests: + pull_request18831 |
| 2020年04月11日 12:10:03 | corona10 | set | messages: + msg366207 |
| 2020年04月11日 12:09:18 | corona10 | set | messages: + msg366205 |
| 2020年04月10日 13:41:40 | corona10 | set | nosy:
+ corona10 |
| 2020年04月07日 23:03:53 | vstinner | create | |