Message140550
No Python thread is ever fork safe because the Python interpreter itself can never be made fork safe. Nor should anyone try to make the interpreter itself safe. It is too complex and effectively impossible to guarantee.
There is no general solution to this, fork and threading is simply broken in POSIX and no amount of duct tape outside of the OS kernel can fix it. My only desire is that we attempt to do the right thing when possible with the locks we know about within the standard library. |
|
Date |
User |
Action |
Args |
2011-07-18 00:27:23 | gregory.p.smith | set | recipients:
+ gregory.p.smith, pitrou, vstinner, nirai, bobbyi, neologix, Giovanni.Bajo, sdaoden, avian |
2011-07-18 00:27:23 | gregory.p.smith | set | messageid: <1310948843.54.0.948576902908.issue6721@psf.upfronthosting.co.za> |
2011-07-18 00:27:23 | gregory.p.smith | link | issue6721 messages |
2011-07-18 00:27:22 | gregory.p.smith | create | |
|