Made swap_target THREAD_LOCAL

svn: r11601
This commit is contained in:
Kevin Tew 2008-09-09 15:54:19 +00:00
parent 597c3b39be
commit 123602146b

View File

@ -187,7 +187,7 @@ extern int GC_is_marked(void *);
/* On swap, put target in a static variable, instead of on the stack,
so that the swapped-out thread is less likely to have a pointer
to the target thread. */
static Scheme_Thread *swap_target;
static THREAD_LOCAL Scheme_Thread *swap_target;
static Scheme_Object *scheduled_kills;