TLS for Android (and iOS)

Jacob Carlborg doob at
Mon Mar 31 10:38:10 PDT 2014

On 2014-03-31 17:23, Dan Olson wrote:

> I have tried and success.
> 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.

Awesome :)

/Jacob Carlborg

More information about the digitalmars-d-ldc mailing list