March 25, 2012 Re: Supporting emulated tls | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | 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 |
March 26, 2012 Re: Supporting emulated tls | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | On 25 March 2012 21:29, Jacob Carlborg <doob@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'; |
Copyright © 1999-2021 by the D Language Foundation