OS X libphobos2.so

David Nadlinger via Digitalmars-d digitalmars-d at puremagic.com
Tue Nov 10 13:58:46 PST 2015


On Tuesday, 10 November 2015 at 17:55:58 UTC, bitwise wrote:
> Also, the memory is allocated using calloc, and the block is 
> never added to the GC..doesn't this mean that the GC won't scan 
> there, and could potentially free objects that are stored there?

It's been quite some time long time since I have looked at the 
details of DMD's TLS emulation (LDC does not need it), but for 
scanning the TLS area, you want to have a look at initTLSRanges().

  — David


More information about the Digitalmars-d mailing list