LATEST in io_splice-3.0.0 vs LATEST in io_splice-3.1.0

- old
+ new

@@ -1,15 +1,8 @@ -=== io_splice 3.0.0 - kinder, gentler Linux zero-copy / 2011-03-01 09:38 UTC +=== io_splice 3.1.0 - IO::Splice.copy_stream improvement / 2011-05-01 21:17 UTC - This release adds the IO.trysplice and IO.trytee interfaces - to avoid expensive EAGAIN exceptions for non-blocking I/O. - - There is no IO.tryvmsplice method as we still haven't figured - out a good use for IO.vmsplice in Ruby, and non-blocking I/O - with iovecs is just painful! If you want more zero-copy fun - without needing mmap(2), check out the "sendfile" RubyGem and - IO.copy_stream (1.9). As of Linux 2.6.33+, sendfile(2) can copy - mmap-able files to +any+ descriptor, not just sockets. - - Please email us at ruby.io.splice@librelist.com if you can think - of a good use for IO.vmsplice or IO.trysplice in Ruby. + IO::Splice.copy_stream no longer modifies the actual file offset + of the given source file (if it's a regular file). This follows + IO.copy_stream and IO#sendfile semantics, allowing multiple + threads/processes to simultaneously stream a single regular file + descriptor to multiple sockets/pipes.