Message109914
| Author |
rnk |
| Recipients |
collinwinter, jyasskin, rnk |
| Date |
2010年07月10日.19:35:48 |
| SpamBayes Score |
0.07813458 |
| Marked as misclassified |
No |
| Message-id |
<1278790551.79.0.100239561367.issue6643@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Here's an updated patch for py3k (3.2). The test still fails without the fix, and passes with the fix.
Thinking more about this, I'll try summarizing the bug more coherently:
When the main thread joins the child threads, it acquires some locks. If a fork in a child thread occurs while those locks are held, they remain locked in the child process. My solution is to do here what we do elsewhere in CPython: abandon radioactive locks and allocate fresh ones. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年07月10日 19:35:52 | rnk | set | recipients:
+ rnk, collinwinter, jyasskin |
| 2010年07月10日 19:35:51 | rnk | set | messageid: <1278790551.79.0.100239561367.issue6643@psf.upfronthosting.co.za> |
| 2010年07月10日 19:35:50 | rnk | link | issue6643 messages |
| 2010年07月10日 19:35:50 | rnk | create |
|