On 2012-03-18 12:32, Johannes Pfau wrote:
I thought about supporting emulated tls a little. The GCC emutls.c
implementation currently can't work with the gc, as every TLS variable
is allocated individually and therefore we don't have a contiguous
memory region for the gc. I think these are the possible solutions:

Why not use the native TLS implementation when available and roll our own, like DMD on Mac OS X, when none exists?

BTW, I think it would be possible to emulate TLS in a very similar way to how it's implemented natively for ELF.

--
/Jacob Carlborg

Reply via email to