dspinellis / dgsh

Shell supporting pipelines to and from multiple processes
http://www.spinellis.gr/sw/dgsh/
Other
323 stars 23 forks source link

Debug multipipe block to mutipipe block connections #4

Open mfragkoulis opened 7 years ago

mfragkoulis commented 7 years ago

Graphs that include multipipe block to mutipipe block connections, such as the following one, hang at the negotiation phase.

{{ echo hi & echo there & echo stranger & }} | {{ cat -n & dd & }}

dspinellis commented 6 years ago

Suggestion: when producers or consumers with a flexible input / output channel number appear use the smallest number of channels possible, equally dividing the remaining channels among processes, favouring the top ones for the remainder.