[前][次][番号順一覧][スレッド一覧]

ruby-changes:26346

From: kosaki <ko1@a...>
Date: Sat, 15 Dec 2012 14:39:57 +0900 (JST)
Subject: [ruby-changes:26346] kosaki:r38397 (trunk): * io.c (rb_io_wait_writable): add to call rb_thread_wait_fd()

kosaki	2012-12-15 14:39:46 +0900 (Sat, 15 Dec 2012)

  New Revision: 38397

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38397

  Log:
    * io.c (rb_io_wait_writable): add to call rb_thread_wait_fd()
      likes rb_io_wait_readable.

  Modified files:
    trunk/ChangeLog
    trunk/io.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 38396)
+++ ChangeLog	(revision 38397)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Dec 15 12:55:29 2012  KOSAKI Motohiro  <kosaki.motohiro@g...>
+
+	* io.c (rb_io_wait_writable): add to call rb_thread_wait_fd()
+	  likes rb_io_wait_readable.
+
 Sat Dec 15 11:54:50 2012  KOSAKI Motohiro  <kosaki.motohiro@g...>
 
 	* io.c (rb_io_wait_writable): don't call rb_thread_fd_writable()
Index: io.c
===================================================================
--- io.c	(revision 38396)
+++ io.c	(revision 38397)
@@ -1023,6 +1023,7 @@ rb_io_wait_writable(int f) https://github.com/ruby/ruby/blob/trunk/io.c#L1023
 #if defined(ERESTART)
       case ERESTART:
 #endif
+	rb_thread_wait_fd(f);
 	return TRUE;
 
       case EAGAIN:

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]