which version of gcc starts to support "__thread" keyword ?

Michael Gong mwgong@cs.toronto.edu
Mon Aug 28 13:33:00 GMT 2006


Hi, Ian,

Thanks for answering. So which machine targets or architecture support that 
feature?

Regards,

Michael



----- Original Message ----- 
From: "Ian Lance Taylor" <iant@google.com>
To: "Michael Gong" <mwgong@cs.toronto.edu>
Cc: <gcc-help@gcc.gnu.org>
Sent: Saturday, August 26, 2006 2:17 PM
Subject: Re: which version of gcc starts to support "__thread" keyword ?


> "Michael Gong" <mwgong@cs.toronto.edu> writes:
>
>> Does anyone know from which version that gcc starts to support
>> "__thread" keyword and the "thread local storage" (TLS) feature?
>
> It depends on the target.  For x86, TLS support was added in gcc 3.3.
>
> Ian
> 



More information about the Gcc-help mailing list