TLS for Android (and iOS)

Jacob Carlborg doob at
Mon Mar 31 10:39:02 PDT 2014

On 2014-03-31 16:05, David Nadlinger wrote:

> For LDC on OS X, which makes use of the 10.7+ system-level TLS
> implementation, the place where this is handled is
> _d_dyld_getTLSRange uses an undocumented dyld API function
> (dyld_enumerate_tlv_storage) to get the actual TLS  memory range on the
> current thread:

"dyld_enumerate_tlv_storage" should probably be replaced with a function 
that is publicly available, at some point.

/Jacob Carlborg

More information about the digitalmars-d-ldc mailing list