[Issue 13727] std.stdio.File not thread-safe

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Nov 13 06:17:57 PST 2014


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

--- Comment #3 from Vladimir Panteleev <thecybershadow at gmail.com> ---
(In reply to Steven Schveighoffer from comment #2)
> I'm going to throw a shot in the dark out here, and say it's an issue with
> DMC runtime. Which means it's really a problem with DMC, not DMD or phobos.

I agree. However, we might be able to work around thread safety issues in the
DMC runtime using global locks.

> I'll note that the DMC runtime has a limit of 64 file descriptors, including
> the standard handles.

This shouldn't be relevant except when running the test program on systems with
64 or more processors/cores.

--


More information about the Digitalmars-d-bugs mailing list