Parsing a UTF-16LE file line by line, BUG?

Jack Applegame via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jan 26 23:02:52 PST 2017


On Monday, 16 January 2017 at 14:47:23 UTC, Era Scarecrow wrote:
>     static char[1024*4] buffer;  //4k reusable buffer, NOT 
> thread safe

Maybe I'm wrong, but I think it's thread safe. Because static 
mutable non-shared variables are stored in TLS.



More information about the Digitalmars-d-learn mailing list