Make wind.o state thread-local.
authorMatt Birkholz <puck@birchwood-abbey.net>
Sun, 19 Jul 2015 19:51:17 +0000 (12:51 -0700)
committerMatt Birkholz <puck@birchwood-abbey.net>
Thu, 26 Nov 2015 08:09:47 +0000 (01:09 -0700)
src/microcode/wind.c

index 098a262241074b62e29f4c29c202fba352ec7d1b..97bb836139c2299d6dfc6bec5b4ffb583c06d8b0 100644 (file)
@@ -172,7 +172,7 @@ undo_binding (void * environment)
     (((struct binding_record *) environment) -> value);
 }
 
-static void ** save_binding_location;
+static __thread void ** save_binding_location;
 
 static void
 save_binding (void * environment)