From 38a874ade8b20689c8e7ca91340bd2ea3ed0737c Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 10 Oct 2009 10:49:47 +0000 Subject: * 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 --- ChangeLog | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index c9e9f3e3c..bb5127228 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,20 @@ +Sat Oct 10 19:03:29 2009 Tanaka Akira + + * 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. + Sat Oct 10 18:59:17 2009 Nobuyoshi Nakada * configure.in (cflags, cxxflags): remove duplicating options. -- cgit