usa fd9f6bde95 * win32/win32.c, include/win32/win32.h (rb_w32_set_nonblock): new
function to support nonblock-mode of pipes.

* win32/win32.c (rb_w32_read): nonblock-mode pipe returns ERROR_NO_DATA
  if there is no data, but also returns it if remote-end is closed.

* win32/win32.c (rb_w32_write): if cannot to write any data, it may be
  blocking.

* io.c (rb_io_set_nonblock): use rb_w32_set_nonblock for Windows.

* ext/io/nonblock/nonblock.c (rb_io_nonblock_set): use ruby's API when
  setting nonblock-mode.

* test/ruby/test_io.rb: test nonblock pipes on Windows.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-10 10:42:19 +00:00
..
2014-11-01 15:35:31 +00:00
2013-12-14 22:03:24 +00:00
2014-03-23 02:03:51 +00:00
2014-08-28 06:18:30 +00:00
2014-09-13 13:03:46 +00:00
2014-08-21 04:39:32 +00:00
2014-08-03 01:55:32 +00:00
2014-10-15 06:27:30 +00:00
2014-03-10 01:51:45 +00:00
2014-05-31 15:31:46 +00:00
2014-08-01 07:35:34 +00:00
2014-09-20 01:48:43 +00:00
2013-12-13 09:18:05 +00:00
2014-08-28 08:27:53 +00:00
2014-03-04 13:55:24 +00:00
2014-10-30 02:16:15 +00:00
2014-07-29 03:28:43 +00:00
2014-09-19 01:47:06 +00:00
2014-10-20 07:38:53 +00:00
2014-10-23 16:23:46 +00:00
2014-09-10 08:22:03 +00:00
2014-11-06 14:58:43 +00:00
2014-06-07 03:51:57 +00:00
2013-12-13 09:18:05 +00:00
2014-03-05 13:27:22 +00:00
2014-06-20 06:47:37 +00:00
2014-10-29 05:44:33 +00:00
2014-10-28 07:22:43 +00:00
2014-07-18 13:16:48 +00:00
2014-03-28 12:36:27 +00:00
2014-09-22 23:29:15 +00:00
2013-12-13 09:18:05 +00:00