digitalmars.D.bugs - [Issue 13443] New: stdin/stdout/stderr should be accessible from
- via Digitalmars-d-bugs (19/20) Sep 09 2014 https://issues.dlang.org/show_bug.cgi?id=13443
https://issues.dlang.org/show_bug.cgi?id=13443 Issue ID: 13443 Summary: stdin/stdout/stderr should be accessible from safe code Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: safe Severity: normal Priority: P1 Component: Phobos Assignee: nobody puremagic.com Reporter: thecybershadow gmail.com Currently, the standard File variables in std.stdio are not accessible from safe code, because they are declared as __gshared.From looking at the code, it looks like they are indeed not thread-safe - thereference counter is not incremented/decremented atomically. --
Sep 09 2014