ruby-changes:16516
From: naruse <ko1@a...>
Date: Thu, 1 Jul 2010 16:25:39 +0900 (JST)
Subject: [ruby-changes:16516] Ruby:r28507 (trunk): * thread_pthread.c (thread_start_func_1): don't call
naruse 2010-07-01 16:25:20 +0900 (Thu, 01 Jul 2010) New Revision: 28507 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=28507 Log: * 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: trunk/ChangeLog trunk/thread_pthread.c Index: ChangeLog =================================================================== --- ChangeLog (revision 28506) +++ ChangeLog (revision 28507) @@ -1,3 +1,11 @@ +Thu Jul 1 16:19:53 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: thread_pthread.c =================================================================== --- thread_pthread.c (revision 28506) +++ thread_pthread.c (revision 28507) @@ -356,7 +356,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/