From 56c8604a13d4d89740ba3f088067f9069301d127 Mon Sep 17 00:00:00 2001 From: Kevin Tew Date: Tue, 6 Oct 2009 12:43:11 +0000 Subject: [PATCH] THREAD_LOCAL stack_copy_cache svn: r16249 --- src/mzscheme/src/setjmpup.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mzscheme/src/setjmpup.c b/src/mzscheme/src/setjmpup.c index 57e3dca67b..6eb98b31e1 100644 --- a/src/mzscheme/src/setjmpup.c +++ b/src/mzscheme/src/setjmpup.c @@ -217,9 +217,9 @@ static void set_copy(void *s_c, void *c) # define set_copy(s_c, c) s_c = c #define STACK_COPY_CACHE_SIZE 10 -static void *stack_copy_cache[STACK_COPY_CACHE_SIZE]; -static long stack_copy_size_cache[STACK_COPY_CACHE_SIZE]; -static int scc_pos; +static THREAD_LOCAL void *stack_copy_cache[STACK_COPY_CACHE_SIZE]; +static THREAD_LOCAL long stack_copy_size_cache[STACK_COPY_CACHE_SIZE]; +static THREAD_LOCAL int scc_pos; #define SCC_OK_EXTRA_AMT 100 START_XFORM_SKIP;