Bug 16006 – Investigate adding fork() to std.process

Status
NEW
Severity
enhancement
Priority
P4
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-05-09T23:05:14Z
Last change time
2024-12-01T16:26:44Z
Keywords
pull
Assigned to
No Owner
Creator
Vladimir Panteleev
See also
https://issues.dlang.org/show_bug.cgi?id=14205
Moved to GitHub: phobos#10175 →

Comments

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
Comment #2 by robert.schadek — 2024-12-01T16:26:44Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/10175 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB