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-08.21:43:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586382203.52.0.537965691861.issue40232@roundup.psfhosted.org>
In-reply-to
Content
In bpo-40089, I added _PyThread_at_fork_reinit() function to reinitialize a lock after a lock. PyOS_AfterFork_Child() should use it rather than creating new locks. For example, currently _PyEval_ReInitThreads() calls:

    pending->lock = PyThread_allocate_lock();
History
Date User Action Args
2020-04-08 21:43:23vstinnersetrecipients: + vstinner
2020-04-08 21:43:23vstinnersetmessageid: <1586382203.52.0.537965691861.issue40232@roundup.psfhosted.org>
2020-04-08 21:43:23vstinnerlinkissue40232 messages
2020-04-08 21:43:23vstinnercreate