Comment #0 by dlang-bugzilla — 2016-05-09T23:05:14Z
I wonder how far we can go with providing a safe-ish fork() in std.process.
Most importantly, what needs to be done:
- Making sure we don't fork() during a GC cycle
- Unregistering all threads from the runtime in the child
Locks held by other threads will remain held, but this would be an application bug and fairly easy to diagnose.
Anything else?
Comment #1 by dlang-bugzilla — 2016-05-10T22:09:51Z