зеркало из https://github.com/github/ruby.git
* io.c (rb_io_wait_writable): don't call rb_thread_fd_writable()
when EINTR. EINTR mean signal interrupt was happen. We don't need any wait. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
47fa79203d
Коммит
70df4dec03
|
@ -1,3 +1,9 @@
|
|||
Sat Dec 15 11:54:50 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* io.c (rb_io_wait_writable): don't call rb_thread_fd_writable()
|
||||
when EINTR. EINTR mean signal interrupt was happen. We don't
|
||||
need any wait.
|
||||
|
||||
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()
|
||||
|
|
1
io.c
1
io.c
|
@ -1023,7 +1023,6 @@ rb_io_wait_writable(int f)
|
|||
#if defined(ERESTART)
|
||||
case ERESTART:
|
||||
#endif
|
||||
rb_thread_fd_writable(f);
|
||||
return TRUE;
|
||||
|
||||
case EAGAIN:
|
||||
|
|
Загрузка…
Ссылка в новой задаче