From: Matt Birkholz Date: Tue, 21 Jul 2015 07:38:38 +0000 (-0700) Subject: Make obstack.o state thread-local. X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=7424231cead869be0bf89ecc6d7f64716dc09014;p=mit-scheme.git Make obstack.o state thread-local. --- diff --git a/src/microcode/obstack.c b/src/microcode/obstack.c index 74a67e347..189d05a1c 100644 --- a/src/microcode/obstack.c +++ b/src/microcode/obstack.c @@ -47,7 +47,7 @@ union fooround {long x; double d;}; /* The non-GNU-C macros copy the obstack into this global variable to avoid multiple evaluation. */ -struct obstack *_obstack; +__thread struct obstack *_obstack; /* Initialize an obstack H for use. Specify chunk size SIZE (0 means default). Objects start on multiples of ALIGNMENT (0 means use default).