On 2014-02-14 16:42, Steven Schveighoffer wrote:
I'm 90% sure that MacOS does not natively support TLS, and uses the core.Thread class to store it.
OS X support TLS natively since 10.7, but DMD still uses emulated TLS on OS X.
Yes, this also depends on moduleinfo, like static ctor/dtor.
As I've replied to other posts, there's __traits(getUnitTests) as well. -- /Jacob Carlborg