Make comutl.o state thread-local.
authorMatt Birkholz <puck@birchwood-abbey.net>
Tue, 21 Jul 2015 07:34:38 +0000 (00:34 -0700)
committerMatt Birkholz <puck@birchwood-abbey.net>
Thu, 26 Nov 2015 08:09:46 +0000 (01:09 -0700)
src/microcode/comutl.c

index 6660dae42d1d28ddb573c08029b6c0b3d58e7357..87d07bf54f3fcefeb5d2cbca920b6af02d3d2b8f 100644 (file)
@@ -207,7 +207,7 @@ DEFINE_PRIMITIVE ("INITIALIZE-C-COMPILED-BLOCK",
 }
 
 typedef unsigned long thunk_t (void);
-static const char * ilof_prefix = 0;
+static __thread const char * ilof_prefix = 0;
 
 DEFINE_PRIMITIVE ("INITIALIZE-LIARC-OBJECT-FILE", Prim_initialize_liarc_object_file, 2, 2,
                  "(ADDRESS PREFIX)\n\