diff options
author | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-03-10 04:00:21 +0000 |
---|---|---|
committer | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-03-10 04:00:21 +0000 |
commit | bcf12936810465caa1e6b019652ae42bf9fc22f0 (patch) | |
tree | 0d6722fa28e338707234d6f258573e29b351280a /lib/erb.rb | |
parent | 9c021064a28639fbb9ccb6a9877fc504f377624c (diff) | |
download | ruby-bcf12936810465caa1e6b019652ae42bf9fc22f0.tar.gz |
* thread_pthread.c (ARRAY_SIZE): new.
* thread_pthread.c (gvl_acquire_common): use low priority
notification for avoiding timer thread interval confusion.
If we use timer_thread_pipe[1], every gvl_yield() request
one more gvl_yield(). It lead to thread starvation.
[Bug #7999] [ruby-core:53095]
* thread_pthread.c (rb_reserved_fd_p): adds timer_thread_pipe_low
to reserved fds.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/erb.rb')
0 files changed, 0 insertions, 0 deletions