about summary refs log tree commit homepage
path: root/lib/dtas/buffer/read_write.rb
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-01-20 01:33:38 +0000
committerEric Wong <e@80x24.org>2015-01-20 02:08:44 +0000
commit65bb4baf0e479ff7cfbf0a8422824834c9f06ab1 (patch)
tree9a0bc4866c5d9e3ad5a896ddb814542dd29f902d /lib/dtas/buffer/read_write.rb
parent51e6240767b394e255d05a0f712a1da853485e82 (diff)
downloaddtas-65bb4baf0e479ff7cfbf0a8422824834c9f06ab1.tar.gz
Hopefully this makes the code less daunting to newcomers
Diffstat (limited to 'lib/dtas/buffer/read_write.rb')
-rw-r--r--lib/dtas/buffer/read_write.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/dtas/buffer/read_write.rb b/lib/dtas/buffer/read_write.rb
index 56eb8a1..a27b823 100644
--- a/lib/dtas/buffer/read_write.rb
+++ b/lib/dtas/buffer/read_write.rb
@@ -4,6 +4,8 @@ require 'io/nonblock'
 require_relative '../../dtas'
 require_relative '../pipe'
 
+# compatibility code for systems lacking "splice" support via the
+# "io-splice" RubyGem.  Used only by -player
 module DTAS::Buffer::ReadWrite # :nodoc:
   MAX_AT_ONCE = 512 # min PIPE_BUF value in POSIX
   attr_accessor :buffer_size