diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | thread.c | 1 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Sat Dec 15 11:53:36 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com> + + * thread.c (rb_thread_wait_fd_rw): remove silly rb_thread_alone() + check. + Sat Dec 15 10:22:38 2012 Nobuyoshi Nakada <nobu@ruby-lang.org> * thread.c (rb_thread_polling): revert but deprecate. @@ -3320,7 +3320,6 @@ rb_thread_wait_fd_rw(int fd, int read) if (fd < 0) { rb_raise(rb_eIOError, "closed stream"); } - if (rb_thread_alone()) return; while (result <= 0) { result = rb_wait_for_single_fd(fd, events, NULL); |