[Issue 15768] std.stdio.trustedStdout accesses __gshared data without synchronization.

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Jun 10 08:13:32 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=15768

--- Comment #3 from Sobirari Muhomori <dfj1esp02 at sneakemail.com> ---
I'd say follow TLS-cached singleton pattern, FILE* can be shared, but the
reference counter must be separate.

--


More information about the Digitalmars-d-bugs mailing list