From c2016768e4b6c4d5477cb873e57260729c23aef4 Mon Sep 17 00:00:00 2001 From: Matt Birkholz Date: Tue, 21 Jul 2015 00:35:11 -0700 Subject: [PATCH] Make error.o state thread-local. --- src/microcode/error.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/microcode/error.c b/src/microcode/error.c index 044ee3b7c..013486e51 100644 --- a/src/microcode/error.c +++ b/src/microcode/error.c @@ -44,9 +44,9 @@ struct restart_record struct condition_restart contents; }; -static unsigned long next_condition_type_index; -static struct handler_record * current_handler_record; -static struct restart_record * current_restart_record; +static __thread unsigned long next_condition_type_index; +static __thread struct handler_record * current_handler_record; +static __thread struct restart_record * current_restart_record; void initialize_condition_system (void) -- 2.25.1