Supporting emulated tls
Iain Buclaw
ibuclaw at ubuntu.com
Mon Mar 26 01:22:43 PDT 2012
On 25 March 2012 21:29, Jacob Carlborg <doob at me.com> wrote:
> On 2012-03-25 20:34, Martin Nowak wrote:
>
>> Sorry,
>> that might have been misleading.
>> The point I was trying to make is that D's TLS support shouldn't
>> deviate from the native platform TLS if one is available. I've just
>> tried it out, and indeed I can access C TLS variables from D.
>
>
> Ok. Yes, if a native TLS is available that should be used.
>
> --
> /Jacob Carlborg
Native implementations are used in GDC. We are currently going on
blind faith that all symbols are between _tlsstart and _tlsend though,
and packed together in a contiguous fashion. :~)
--
Iain Buclaw
*(p < e ? p++ : p) = (c & 0x0f) + '0';
More information about the D.gnu
mailing list