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.

              • Re:... Mike Wey via Digitalmars-d-learn
              • Re:... Nestor via Digitalmars-d-learn
              • Re:... Nestor via Digitalmars-d-learn
              • Re:... Daniel Kozák via Digitalmars-d-learn
              • Re:... Nestor via Digitalmars-d-learn
              • Re:... Era Scarecrow via Digitalmars-d-learn
              • Re:... Nestor via Digitalmars-d-learn
              • Re:... Era Scarecrow via Digitalmars-d-learn
              • Re:... Nestor via Digitalmars-d-learn
              • Re:... Patrick Schluter via Digitalmars-d-learn
              • Re:... Jack Applegame via Digitalmars-d-learn
              • Re:... Era Scarecrow via Digitalmars-d-learn
        • Re: Parsing a UT... Daniel Kozák via Digitalmars-d-learn
  • Re: Parsing a UTF-16LE file l... Steven Schveighoffer via Digitalmars-d-learn

Reply via email to