1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/include/ruby
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
..
backward * include/ruby/intern.h, 2014-02-14 15:16:31 +00:00
debug.h * include/ruby/debug.h, 2013-10-09 00:21:51 +00:00
defines.h * symbian/*: removed Symbian support. 2014-09-04 11:09:32 +00:00
encoding.h string.c: rb_str_new_static 2014-09-19 05:53:00 +00:00
intern.h intern.h: deprecate disable and enable super 2014-11-05 08:20:31 +00:00
io.h io.c: move RFile initialization 2014-10-10 02:34:24 +00:00
missing.h configure.in, missing.h: jemalloc mangling 2014-06-05 05:16:46 +00:00
oniguruma.h * reg*.c: Merge Onigmo 5.15.0 38a870960aa7370051a3544 2014-09-15 16:18:41 +00:00
re.h
regex.h
ruby.h ruby.h: add mark to PRIsVALUE 2014-11-04 03:51:33 +00:00
st.h st.c: remove equality checks 2014-07-06 15:11:53 +00:00
subst.h
thread.h
thread_native.h * ext/openssl/depend: remove dependency from internal headers. 2014-05-14 10:55:38 +00:00
util.h * configure.in: check qsort_r(3) and whether it is GNU version. 2014-02-08 12:50:28 +00:00
version.h ruby/version.h: bump API version 2013-12-26 03:53:20 +00:00
vm.h
win32.h * win32/win32.c, include/win32/win32.h (rb_w32_set_nonblock): new 2014-11-10 10:42:19 +00:00