1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/curses
akr f65dbbd24a * 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@25286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-10 10:49:47 +00:00
..
.cvsignore add extconf.h to .cvsignore. 2006-06-24 01:15:08 +00:00
curses.c * ext/curses/curses.c: use rb_thread_blocking_region to avoid 2009-10-10 10:49:47 +00:00
depend
extconf.rb * ext/curses/curses.c (curses_colors): new method added. a patch 2009-02-24 15:19:17 +00:00
hello.rb
mouse.rb
rain.rb
view.rb * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
view2.rb