https://issues.dlang.org/show_bug.cgi?id=16006
Issue ID: 16006
Summary: Investigate adding fork() to std.process
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: phobos
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
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?
--