消息 [128307]
fwiw http://bugs.python.org/issue6643 recently fixed on issue where a mutex was being closed instead of reinitialized after a fork. more are likely needed.
Are you suggesting to use pthread_atfork to call pthread_mutex_init on all mutexes created by Python in the child after a fork? I'll have to ponder that some more. Given the mutexes are all useless post fork it does not strike me as a bad idea. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2011-02-10 16:56:34 | gregory.p.smith | 修改 | recipients:
+ gregory.p.smith, pitrou, bobbyi, neologix |
| 2011-02-10 16:56:34 | gregory.p.smith | 修改 | messageid: <1297356994.09.0.639401119445.issue6721@psf.upfronthosting.co.za> |
| 2011-02-10 16:56:33 | gregory.p.smith | 链接 | issue6721 messages |
| 2011-02-10 16:56:33 | gregory.p.smith | 创建 | |
|