This is a cross post from SO:
http://stackoverflow.com/questions/21173136/how-to-resolve-pipe-dead-lock-in-ruby

I am trying to emulate UNIX command line pipes in a Ruby-only solution
that uses multiple cores. Eventually, the records piped from command to
command will be Ruby objects marshaled using msgpack. Unfortunately, the
code hangs after the first dump command. I am really trying to figure
out what causes this deadlock and how to resolve it.

Any hints appreciated.


Cheers,


Martin

-- 
Posted via http://www.ruby-forum.com/.