1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2010-07-01 07:25:20 +00:00
parent 678f6b3716
commit 6957c6d9cf
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,11 @@
Thu Jul 1 16:19:53 2010 NARUSE, Yui <naruse@ruby-lang.org>
* 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@ruby-lang.org>
* common.mk (test-knownbug): ignore known bugs.

View file

@ -356,7 +356,9 @@ thread_start_func_1(void *th_ptr)
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());
}