current compilers have several bugs associated with it We use the simpler __thread (gcc and clang) and __declspec(thread) (visual studio).
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>