From 7424231cead869be0bf89ecc6d7f64716dc09014 Mon Sep 17 00:00:00 2001 From: Matt Birkholz Date: Tue, 21 Jul 2015 00:38:38 -0700 Subject: [PATCH] Make obstack.o state thread-local. --- src/microcode/obstack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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). -- 2.25.1