summaryrefslogtreecommitdiffstats
path: root/include/ruby/vm.h
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-10 10:49:47 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-10 10:49:47 +0000
commit38a874ade8b20689c8e7ca91340bd2ea3ed0737c (patch)
tree02e5048b052b4dc5e364b9a665822c094f08a74e /include/ruby/vm.h
parent800b1bc8be15dfe37f61f1d6d6b07f09789005ef (diff)
downloadruby-38a874ade8b20689c8e7ca91340bd2ea3ed0737c.tar.gz
ruby-38a874ade8b20689c8e7ca91340bd2ea3ed0737c.tar.xz
ruby-38a874ade8b20689c8e7ca91340bd2ea3ed0737c.zip
* ext/curses/curses.c: use rb_thread_blocking_region to avoid
rb_read_check. This makes other threads runnable in getstr and wgetstr. (getch_func): extracted from curses_getch. (curses_getch): use rb_thread_blocking_region with getch_func. (getstr_func): extracted from curses_getstr. (curses_getstr): use rb_thread_blocking_region with getstr_func. (wgetch_func): extracted from window_getch. (window_getch): use rb_thread_blocking_region with wgetch_func. (wgetstr_func): extracted from window_getstr. (window_getstr): use rb_thread_blocking_region with wgetstr_func. * include/ruby/io.h (rb_read_check): deprecated because it access internal of stdio. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/vm.h')
0 files changed, 0 insertions, 0 deletions