Date: Thu, 29 Aug 2013 22:31:43 +1000 From: Sumit Raja <sumitraja@gmail.com> To: freebsd-questions@freebsd.org Subject: TLS Range on current thread Message-ID: <CAD4nrSeQ58OPynoG9PArKwDPTFst0=Jx%2Bk3Ybj-ZjboHr7SQ8g@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAD4nrSeQ58OPynoG9PArKwDPTFst0=Jx%2Bk3Ybj-ZjboHr7SQ8g>