On 2015-02-18 02:41, Jonathan Marler wrote: > I've created a simple program to demonstrate the issue. The performance > cost of TLS vs __gshared is over one and a half orders of magnitude! It would be nice to have a comparison in C as well, which do use the native TLS implementation. -- /Jacob Carlborg