can't understand why code do not working

monarch_dodra via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Sep 22 14:24:57 PDT 2014


On Monday, 22 September 2014 at 21:19:37 UTC, Steven 
Schveighoffer wrote:
> On 9/22/14 4:37 PM, Cliff wrote:
>
>>
>> Is stdout threadsafe?
>
> Yes, stdout is thread safe, it's based on C's stdout which is 
> thread safe.
>
> -Steve

Techinallly, though thread "safe", concurrent writes will create 
garbled text. D goes one step further in the sense that it 
prevents concurrent writes entirely.


More information about the Digitalmars-d-learn mailing list