From 611e2874982afa0e9a684159ca3d228563a813c0 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: svn+ssh://ci.ruby-lang.org/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 ff85e0f04c..f7a4b8ba7a 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 v1.2.3