trustmaster / goflow

Flow-based and dataflow programming library for Go (golang)
MIT License
1.61k stars 125 forks source link

Fixes deadlock when closing an input channel to a component with multiple input channels #28

Closed seanward closed 4 years ago

seanward commented 9 years ago

Sample code to produce deadlock included (examples/multi-input.go). Did not test the implications on pool mode or your new looper components however. Root issue is a need for one port handler to be executing (or executed) per input channel.

trustmaster commented 9 years ago

@seanward thanks! Could you please provide a simple test case with just one component in component_test.go instead of the example so we can be sure there won't be regressions in future?

pgruenbacher commented 9 years ago

@seanward thanks Sean!

trustmaster commented 4 years ago

Closing as outdated