LATEST in io_splice-3.1.0 vs LATEST in io_splice-4.0.0
- old
+ new
@@ -1,8 +1,16 @@
-=== io_splice 3.1.0 - IO::Splice.copy_stream improvement / 2011-05-01 21:17 UTC
+=== io_splice 4.0.0 - easier to use! / 2011-05-13 02:40 UTC
- 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.
+ Methods now automatically retry on EINTR after checking
+ IO#closed? and executing interrupts.
+
+ There is a new IO::Splice::WAITALL flag (implemented in
+ userspace) which may be used to cause IO.splice and IO.tee
+ to retry (while the GVL is released) until the operation
+ is complete.
+
+ IO::Splice.copy_stream now works correctly for large copies
+ if source offset is specified.
+
+ MRI 1.8 is only weakly supported now, MRI 1.9 is the
+ preferred platform though Rubinius appears to work, too.