Strange Thread Causing Duplicating `writeln`

Jonathan JonathanILevi at gmail.com
Wed Apr 11 21:27:21 UTC 2018


On Tuesday, 10 April 2018 at 23:59:08 UTC, Steven Schveighoffer 
wrote:
> On 4/9/18 6:56 PM, Jonathan wrote:
>> On Monday, 9 April 2018 at 22:53:31 UTC, Jonathan wrote:
>>> On Monday, 9 April 2018 at 22:49:07 UTC, Cym13 wrote:
>>>> I don't know, but I can't reproduce either with dmd or ldc. 
>>>> What was your compilation line?
>>>
>>> dmd -run file.d
>> 
>> I am on Window 10 btw.
>
> It's a windows 32-bit issue (specifically, DMC's FILE *, upon 
> which std.stdio.File is based, is thread unsafe).
>
> Try -m64.
>
> https://issues.dlang.org/show_bug.cgi?id=18483
> http://bugzilla.digitalmars.com/issues/show_bug.cgi?id=327
>
> -Steve

Hum, thank you.


More information about the Digitalmars-d-learn mailing list