Made swap_target THREAD_LOCAL
svn: r11601
This commit is contained in:
parent
597c3b39be
commit
123602146b
|
@ -187,7 +187,7 @@ extern int GC_is_marked(void *);
|
||||||
/* On swap, put target in a static variable, instead of on the stack,
|
/* 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
|
so that the swapped-out thread is less likely to have a pointer
|
||||||
to the target thread. */
|
to the target thread. */
|
||||||
static Scheme_Thread *swap_target;
|
static THREAD_LOCAL Scheme_Thread *swap_target;
|
||||||
|
|
||||||
static Scheme_Object *scheduled_kills;
|
static Scheme_Object *scheduled_kills;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user