TLS Range on current thread

Sumit Raja sumitraja at gmail.com
Thu Aug 29 12:31:44 UTC 2013


Hi,

I want to add support to the  LDC D compiler for FreeBSD, the current
version of D has moved to TLS by default. The__tls_get_addr method links
correctly but this crashes at runtime on garbage collection as the address
range could wrong.

What is the best way to determine the address range for the TLS segment for
the current thread?

Thanks

Sumit


More information about the freebsd-questions mailing list