logoalt Hacker News

LtWorfyesterday at 8:30 PM1 replyview on HN

In general only the thread calling fork() gets forked, so unless you call exec() soon after, there are a lot of complications with signals, shared memory.


Replies

fc417fc802yesterday at 9:02 PM

What are the complications? A single thread with its own process sandbox with everything from the parent is exactly what I'd expect coming from C land. Are the complications you refer to specific to the python VM or more general?

show 2 replies