[Issue 16006] New: Investigate adding fork() to std.process
digitalmars-d-bugs at puremagic.com
Mon May 9 16:05:14 PDT 2016
Issue ID: 16006
Summary: Investigate adding fork() to std.process
Assignee: nobody at puremagic.com
Reporter: thecybershadow at gmail.com
CC: code at dawg.eu
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.
More information about the Digitalmars-d-bugs