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.

Author vstinner
Recipients vstinner
Date 2020-04-07.23:03:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
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.
History
Date User Action Args
2020-04-07 23:03:53vstinnersetrecipients: + vstinner
2020-04-07 23:03:53vstinnersetmessageid: <[email protected]>
2020-04-07 23:03:53vstinnerlinkissue40221 messages
2020-04-07 23:03:52vstinnercreate