Fix attach_thread to allocate a TLS index for *gc-inhibit* if needed
authorDavid Lichteblau <david@lichteblau.com>
Wed, 26 Dec 2012 14:39:34 +0000 (15:39 +0100)
committerDavid Lichteblau <david@lichteblau.com>
Sat, 29 Dec 2012 14:24:14 +0000 (15:24 +0100)
commitbf40ae88bc289fd765a33861cc4bc0853ed483ba
tree710b9c896455ac9b8132abfb03040d570503984a
parent2b29a7c2b236cfab1d4d06311e84414abba71b4c
Fix attach_thread to allocate a TLS index for *gc-inhibit* if needed

Instead of occasionally setting a global value for this variable...

Thanks to Stas Boukarev for the bug report.
src/runtime/thread.c