ruby-changes:16517
From: naruse <ko1@a...>
Date: Thu, 1 Jul 2010 16:27:07 +0900 (JST)
Subject: [ruby-changes:16517] Ruby:r28508 (ruby_1_9_2): merge revision(s) 28507:
naruse 2010-07-01 16:26:51 +0900 (Thu, 01 Jul 2010) New Revision: 28508 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=28508 Log: merge revision(s) 28507: * thread_pthread.c (thread_start_func_1): don't call native_thread_init_stack(th) on cygwin to avoid the segv introduced by r27789. Cygwin's signal implementation is half baked so USE_SIGNALSTACK is not defined and it needs another treatment. Modified files: branches/ruby_1_9_2/ChangeLog branches/ruby_1_9_2/thread_pthread.c Index: ruby_1_9_2/ChangeLog =================================================================== --- ruby_1_9_2/ChangeLog (revision 28507) +++ ruby_1_9_2/ChangeLog (revision 28508) @@ -1,3 +1,11 @@ +Thu Jul 1 16:26:42 2010 NARUSE, Yui <naruse@r...> + + * thread_pthread.c (thread_start_func_1): don't call + native_thread_init_stack(th) on cygwin to avoid the segv + introduced by r27789. Cygwin's signal implementation is half + baked so USE_SIGNALSTACK is not defined and it needs another + treatment. + Thu Jul 1 13:00:54 2010 Nobuyoshi Nakada <nobu@r...> * common.mk (test-knownbug): ignore known bugs. Index: ruby_1_9_2/thread_pthread.c =================================================================== --- ruby_1_9_2/thread_pthread.c (revision 28507) +++ ruby_1_9_2/thread_pthread.c (revision 28508) @@ -364,7 +364,9 @@ rb_thread_t *th = th_ptr; VALUE stack_start; +#ifndef __CYGWIN__ native_thread_init_stack(th); +#endif /* run */ thread_start_func_2(th, &stack_start, rb_ia64_bsp()); } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/