Message366015
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(); |
|
Date |
User |
Action |
Args |
2020-04-08 21:43:23 | vstinner | set | recipients:
+ vstinner |
2020-04-08 21:43:23 | vstinner | set | messageid: <1586382203.52.0.537965691861.issue40232@roundup.psfhosted.org> |
2020-04-08 21:43:23 | vstinner | link | issue40232 messages |
2020-04-08 21:43:23 | vstinner | create | |
|