[ruby-cvs:55626] akr:r48476 (trunk): * include/ruby/io.h (FMODE_WSPLIT): Removed. The write() system call

akr at ruby-lang.org akr at ruby-lang.org
Tue Nov 18 18:11:01 JST 2014


akr	2014-11-18 18:10:59 +0900 (Tue, 18 Nov 2014)

  New Revision: 48476

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

  Log:
    * include/ruby/io.h (FMODE_WSPLIT): Removed.  The write() system call
      is not required to split.  It was useful to avoid whole process
      blocking in Ruby 1.8 but not useful since write() is invoked without
      GVL.
      (FMODE_WSPLIT_INITIALIZED): Ditto.
    
    * io.c (wsplit_p): Removed.
      (io_writable_length): Removed.
      (rb_fcntl): Don't update the removed flags.

  Modified files:
    trunk/ChangeLog
    trunk/include/ruby/io.h
    trunk/io.c


More information about the ruby-cvs mailing list