ruby-changes:18993
From: kosaki <ko1@a...>
Date: Sun, 6 Mar 2011 03:24:02 +0900 (JST)
Subject: [ruby-changes:18993] Ruby:r31029 (trunk): * io.c (io_cntl): use rb_thread_io_blocking_region() instead
kosaki 2011-03-06 03:23:55 +0900 (Sun, 06 Mar 2011) New Revision: 31029 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=31029 Log: * io.c (io_cntl): use rb_thread_io_blocking_region() instead rb_thread_blocking_region(). Modified files: trunk/ChangeLog trunk/io.c Index: ChangeLog =================================================================== --- ChangeLog (revision 31028) +++ ChangeLog (revision 31029) @@ -1,3 +1,8 @@ +Sun Mar 6 03:22:27 2011 KOSAKI Motohiro <kosaki.motohiro@g...> + + * io.c (io_cntl): use rb_thread_io_blocking_region() instead + rb_thread_blocking_region(). + Sat Mar 5 22:54:36 2011 CHIKANAGA Tomoyuki <nagachika00@g...> * include/ruby/intern.h: fix a typo of prototype declaration. Index: io.c =================================================================== --- io.c (revision 31028) +++ io.c (revision 31029) @@ -7683,7 +7683,7 @@ arg.narg = narg; arg.io_p = io_p; - retval = (int)rb_thread_blocking_region(nogvl_io_cntl, &arg, RUBY_UBF_IO, 0); + retval = (int)rb_thread_io_blocking_region(nogvl_io_cntl, &arg, fd); #if defined(F_DUPFD) if (!io_p && retval != -1 && cmd == F_DUPFD) { UPDATE_MAXFD(retval); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/