Class: DTAS::PipeNB
Overview
for non-blocking sinks, this avoids extra fcntl(…, F_GETFL) syscalls We don't need fcntl at all for splice/tee in Linux For non-Linux, we write_nonblock/read_nonblock already call fcntl() behind our backs, so there's no need to repeat it.
Constant Summary
Constants inherited from Pipe
DTAS::Pipe::F_GETPIPE_SZ, DTAS::Pipe::F_SETPIPE_SZ
Instance Attribute Summary
Attributes inherited from Pipe
Attributes included from WritableIter
Instance Method Summary collapse
-
#nonblock? ⇒ Boolean
:nodoc:.
Methods inherited from Pipe
Methods included from WritableIter
#ready_write_optimized?, #wait_writable_prepare, #writable_iter, #writable_iter_init
Instance Method Details
#nonblock? ⇒ Boolean
:nodoc:
46 47 48 |
# File 'lib/dtas/pipe.rb', line 46 def nonblock? true end |