Message158081
| Author |
pitrou |
| Recipients |
nadeem.vawda, neologix, pitrou, sbt |
| Date |
2012年04月11日.21:46:47 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1334180762.3328.58.camel@localhost.localdomain> |
| In-reply-to |
<CAH_1eM30g7326ZHf+p=m2QWfu_cBZUzPx-f9KGJ3sGGmOu6y6g@mail.gmail.com> |
| Content |
> Hmm...
> I don't really like disabling GC, because it has a process-wide side
> effect, and hence isn't thread-safe: if another thread forks() or
> creates a subprocess right at the wrong time, it could end up with the
> GC disabled for good...
That's a problem indeed. Perhaps we need a global "fork lock" shared
between subprocess and multiprocessing? |
|