消息 [162114]
A slightly more ambitious solution than crashing / deadlocking always is to have Python automatically spawn a "fork server" whenever you start using threads.
Then, you would be able to have "subprocess" work cleanly, and not worry about any of this stuff.
I don't know if we want to take the perf hit on "import threading" though... |
|
| 日期 |
用户 |
动作 |
参数 |
| 2012-06-02 00:42:00 | lesha | 修改 | recipients:
+ lesha, gregory.p.smith, vinay.sajip, jcea, pitrou, vstinner, nirai, bobbyi, neologix, Giovanni.Bajo, sdaoden, sbt, avian |
| 2012-06-02 00:42:00 | lesha | 修改 | messageid: <1338597720.88.0.000987280153686.issue6721@psf.upfronthosting.co.za> |
| 2012-06-02 00:42:00 | lesha | 链接 | issue6721 messages |
| 2012-06-02 00:42:00 | lesha | 创建 | |
|