diff options
author | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-02 21:18:16 +0000 |
---|---|---|
committer | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-02 21:18:16 +0000 |
commit | 70dd402cd8357097d1090972585fe23bc940ae41 (patch) | |
tree | 507a60c124501cf751dc9f87bd3f1ab38197ca2b /ChangeLog | |
parent | 560c1aeba991f0c0276f786e242d7bceed5fdf83 (diff) | |
download | ruby-70dd402cd8357097d1090972585fe23bc940ae41.tar.gz |
* thread_pthread.c (get_stack): pthread_attr_getstack() doesn't
return stack start addres, but stack base address. Thus,
we need to add stack size for getting stack start address.
And, we don't have to decrease guard size twice.
* thread_pthread.c (thread_start_func_1): don't use inaccurate
stack start guess if native_thread_init_stack() can be used.
[Bug #1813] [ruby-core:24540]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,13 @@ +Sun Jul 3 06:10:26 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com> + + * thread_pthread.c (get_stack): pthread_attr_getstack() doesn't + return stack start addres, but stack base address. Thus, + we need to add stack size for getting stack start address. + And, we don't have to decrease guard size twice. + * thread_pthread.c (thread_start_func_1): don't use inaccurate + stack start guess if native_thread_init_stack() can be used. + [Bug #1813] [ruby-core:24540] + Sun Jul 3 04:50:08 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com> * thread_pthread.c (get_stack): add to a care of gurad page on Mac |