Method: ConcurrentSHM::Channel::Buffered::Fixed#recv
- Defined in:
- lib/concurrent-shm/channel.rb
#recv ⇒ String
Receive a fixed-width packet over the channel. Blocks if the buffer is empty.
332 333 334 335 336 |
# File 'lib/concurrent-shm/channel.rb', line 332 def recv do_recv do |i| @data[i].read end end |