0f28233b35
There's no real reason that this routine should use thread local storage. Plus, __thread appears to be a GCC extension.