TLS for Android (and iOS)
David Nadlinger
code at klickverbot.at
Mon Mar 31 08:26:42 PDT 2014
On 31 Mar 2014, at 17:23, Dan Olson wrote:
> I added threadLocalHelpers.s and threadLocalVariables.c, modified to
> enable for arm, then had to sprinkle in some missing types from
> dl_priv.h. Then put in a call to tlv_initializer().
>
> The proof is that thread locals get proper initial values when accessed
> through tlv_get_addr(). For example, a thread local double is being
> initialized to nan.
Nice!
David
More information about the digitalmars-d-ldc
mailing list