C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Opt out of multi-threading protection for static variables inside functions

From: Thiago Macieira <thiago_at_[hidden]>
Date: Sun, 27 Oct 2024 11:31:56 -0700
On Sunday 27 October 2024 11:24:02 Pacific Daylight Time Jonathan Wakely wrote:
> This sounds like QoI request, though.
>
> -fno-threadsafe-statics

Which was broken in 2009 or so when I last checked it.

But I think Frederick wants it available in a variable __attribute__.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Principal Engineer - Intel DCAI Platform & System Engineering

Received on 2024-10-27 18:32:00