Message314928
A raw os.posix_spawn() API has been added to 3.7.
vfork() would likely all sorts of other problems. It is extremely complicated and implementations have bugs. CERT says never to use it.
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?pageId=87152373
When forking or threading is involved, you are already always at the mercy of all other code running in your process. This is not new.
That some C/C++ libraries misuse pthread_atfork() is not a surprise. But the bug is theirs.
We should not try to paper over others C and system call mistakes. Their code needs fixing. |
|
| Date |
User |
Action |
Args |
| 2018-04-04 07:13:29 | gregory.p.smith | set | recipients:
+ gregory.p.smith, lukasz.langa, Albert.Zeyer |
| 2018-04-04 07:13:29 | gregory.p.smith | set | messageid: <1522826009.16.0.467229070634.issue31814@psf.upfronthosting.co.za> |
| 2018-04-04 07:13:29 | gregory.p.smith | link | issue31814 messages |
| 2018-04-04 07:13:29 | gregory.p.smith | create | |
|