From aa94d2839d4784956d1291216c908b4d68cb4d0b Mon Sep 17 00:00:00 2001 From: akr Date: Thu, 8 May 2008 06:59:03 +0000 Subject: * thread.c (rb_gc_save_machine_context): call FLUSH_REGISTER_WINDOWS to mark the register stack from GC on another thread. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- thread.c | 1 + 1 file changed, 1 insertion(+) (limited to 'thread.c') diff --git a/thread.c b/thread.c index ff85e0f04..f7a4b8ba7 100644 --- a/thread.c +++ b/thread.c @@ -1966,6 +1966,7 @@ void rb_gc_save_machine_context(rb_thread_t *th) { SET_MACHINE_STACK_END(&th->machine_stack_end); + FLUSH_REGISTER_WINDOWS; #ifdef __ia64 th->machine_register_stack_end = rb_ia64_bsp(); #endif -- cgit